Data Object -> list
as_stan_list.DataObject.Rd
Coerces a data object into a list
of data components required
for fitting a JointModel
. See the "Extending jmpost" vignette for more details.
Usage
# S3 method for DataSubject
as_stan_list(object, ...)
# S3 method for DataSubject
as.list(x, ...)
# S3 method for DataLongitudinal
as_stan_list(object, subject_var, ...)
# S3 method for DataLongitudinal
as.list(x, ...)
# S3 method for DataSurvival
as_stan_list(object, ...)
# S3 method for DataSurvival
as.list(x, ...)
# S3 method for DataJoint
as_stan_list(object, ...)
# S3 method for DataJoint
as.list(x, ...)
Arguments
- object
(
DataSubject
orDataLongitudinal
orDataSurvival
)
data object to convert to alist
.- ...
not used.
- x
(
DataSubject
orDataLongitudinal
orDataSurvival
)
data object to convert to alist
.- subject_var
(
character
)
the name of the variable containing the subject identifier.
See also
Other DataSubject:
DataSubject-class
,
as.data.frame.DataSubject()
,
as_print_string.DataSubject()
,
extractVariableNames.DataSubject()
Other DataLongitudinal:
DataLongitudinal-class
,
as.data.frame.DataLongitudinal()
,
as_print_string.DataLongitudinal()
,
extractVariableNames.DataLongitudinal()
Other DataSurvival:
DataSurvival-class
,
as.data.frame.DataSurvival()
,
as_print_string.DataSurvival()
,
extractVariableNames.DataSurvival()
Other as_stan_list:
as_stan_list()
,
as_stan_list.Parameter()
,
as_stan_list.ParameterList()
,
as_stan_list.Prior()
Other DataJoint:
DataJoint-class
,
subset.DataJoint()