Skip to contents

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 or DataLongitudinal or DataSurvival)
data object to convert to a list.

...

not used.

x

(DataSubject or DataLongitudinal or DataSurvival)
data object to convert to a list.

subject_var

(character)
the name of the variable containing the subject identifier.