Surv2: Create a Survival Object for Joint Models

View source: R/survival.R

Surv2R 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()!

bamlss documentation built on Nov. 2, 2023, 5:31 p.m.