A function to simulate patient covariate data.
The function allows for a relatively simple description of covariates for patients in a clinical trial and then the subsequent simulation of a cohort of the necessary size.
The number of patients to simulate.
A list containing either functions that will be called or named vectors containing relative proportions, for factors.
A data.frame with
npat rows and one column for each variable
given in the
RG and VC
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.