Description Usage Arguments Examples
View source: R/mstate_format.R
Function making simulated data in to a data set with included cencored at risk observations. This makes it possible to simultaneously fit a model for all transitions in a Surv object using the stratification on transin numbera.
1 | format_fun(data, tmat)
|
data |
Data frame of the type generated from sim_fun. |
tmat |
Matrix numerating transitions. |
1 2 3 4 5 6 7 8 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x)
{
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.