SimPatientOutcomes This function is intended to simulate the outcomes for a given ISA.

# S3 method for Correlated
SimPatientOutcomes(cSimOutcomes, cISADesign, dfPatCovISA)

# S3 method for Independent
SimPatientOutcomes(cSimOutcomes, cISADesign, dfPatCovISA)

SimPatientOutcomes(cSimOutcomes, cISADesign, dfPatCovISA)

# S3 method for default
SimPatientOutcomes(cSimOutcomes, cISADesign, dfPatCovISA)

Methods (by class)

  • Correlated: The cSimOutcomes object has a list of sim outcomes and this version will utilize the first outcome to simulate all outcomes correlated. Each simoutcome must have an attribute vColIndex that specifies which columns out of the matrix will be used for that outcome.

  • Independent: The cSimOutcomes object has a list of sim outcomes and this version will go through and call the SimPatientOutcomes for each type. Each outcome is simulated independently.

  • default: This function is intended to simulate the outcomes for a given ISA. Because several options are provided and there in no well defined default an stop error occurs if you call the default method.

See also