Description Usage Arguments Value Examples
View source: R/msc_sample_data.R
Creates a sample data set to test out the mscpredmodel
package.
As the dataset is randomly generated, and it may be desired to make other
sample datasets (for example, with more missing observations, or different
characteristics), the code given here could be adapted to other situations.
1 | msc_sample_data(n.cohorts = 15)
|
n.cohorts |
Number of cohorts in the data set (default 30) |
A sample data set (data.frame)
1 | dat <- msc_sample_data(n.cohorts = 30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.