Surv2 {bamlss}R Documentation

Create a Survival Object for Joint Models

Description

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

Usage

Surv2(..., obs = NULL)

Arguments

...

Arguments passed to function Surv.

obs

The observed longitudinal response.

Value

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

See Also

opt_JM, sam_JM, bamlss

Examples

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

[Package bamlss version 1.2-4 Index]