This function is only a slight extension of Surv for joint models.

Surv2(..., obs = NULL)

Arguments

...

Arguments passed to function Surv.

obs

The observed longitudinal response.

Value

An object of class "Surv2" and "matrix".

See also

Examples

## Surv2(time, event, obs = y)
## See the examples of opt_JM() and sam_JM()!