Description Usage Arguments Examples
View source: R/utility_functions.R
simulate covariates matrix based on user provided factor information
1 | cov_simu(sample_size = sample_size,factors=factors)
|
sample_size |
Total number of patients |
factors |
A list contains basic information about the covariate factors. Each element should have factor's name, number of levels and their frequency, as well as the hazard ratio to the reference group. Factors should be categorical data. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.