View source: R/simulate_data.R
This function simulates observed timepoints for each subject according to a fixed sampling design.
1 | simulate_time_fixed(npoints, censortime, id, index, max_datapoints)
|
npoints |
numeric value indicating the number of observations to be sampled. |
censortime |
numeric value indicating the maximum time point to include in the analysis. |
id |
subject id. Can be numeric or a character. |
index |
numeric identifier for each subject/model combination. |
max_datapoints |
numeric value indicating the maximum number of data points collected from any subject. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.