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 Categorical
SimulatePatientCovariates(cSimCovariate, nQtyOfPatients)

SimulatePatientCovariates(cSimCovariate, nQtyOfPatients)

# S3 method for default
SimulatePatientCovariates(cSimCovariate, nQtyOfPatients)

Methods (by class)

  • 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 ).

  • 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.

See also