View source: R/SimulatePatientCovariates.R
SimulatePatientCovariates.Categorical | R Documentation |
SimulatePatientCovariates This function is used to simulate the patient covariate values. This function is intended to do one covariate for all patients.
## S3 method for class 'Categorical'
SimulatePatientCovariates(cSimCovariate, nQtyOfPatients)
SimulatePatientCovariates(cSimCovariate, nQtyOfPatients)
## Default S3 method:
SimulatePatientCovariates(cSimCovariate, nQtyOfPatients)
SimulatePatientCovariates(Categorical)
: This function is used to simulate the patient covariate values.
This function is intended to do one covariate, for all patients. The sampled covaraites values will be 1,2,..., length( cSimCovariate$vProbs ).
SimulatePatientCovariates(default)
: This function is used to simulate the patient covariate values.
This function is intended to do one covariate, for all patients.
Because several options are provided and there in no well defined default
an stop error occurs if you call the default method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.