View source: R/SimPatientOutcomes.R
SimPatientOutcomes.Correlated | R Documentation |
SimPatientOutcomes This function is intended to simulate the outcomes for a given ISA.
## S3 method for class 'Correlated'
SimPatientOutcomes(cSimOutcomes, cISADesign, dfPatCovISA)
## S3 method for class 'Independent'
SimPatientOutcomes(cSimOutcomes, cISADesign, dfPatCovISA)
SimPatientOutcomes(cSimOutcomes, cISADesign, dfPatCovISA)
## Default S3 method:
SimPatientOutcomes(cSimOutcomes, cISADesign, dfPatCovISA)
SimPatientOutcomes(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.
SimPatientOutcomes(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.
SimPatientOutcomes(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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.