prepare_data_discr | R Documentation |
Prepares discrete-time dataset.
prepare_data_discr( merged.data, interval, col.status.ind, col.id.ind, col.age.ind, col.age.event.ind, col.covar.ind, verbose )
merged.data |
a longitudinal study dataset. |
interval |
interval between observations. |
col.status.ind |
index of "status" column. |
col.id.ind |
subject id column index. |
col.age.ind |
index of the age column. |
col.age.event.ind |
an index of the column which represents the time in which event occured. |
col.covar.ind |
a set of column indexes which represent covariates. |
verbose |
turns on/off verbosing output. Filling the last cell |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.