SimPatientOutcomes: SimPatientOutcomes.Correlated

View source: R/SimPatientOutcomes.R

SimPatientOutcomes.CorrelatedR Documentation

SimPatientOutcomes.Correlated

Description

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

Usage

## 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)

Methods (by class)

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

See Also

View Code on GitHub

View Code on GitHub

View Code on GitHub

View Code on GitHub


kwathen/OCTOPUS documentation built on Oct. 24, 2024, 12:36 p.m.