RandomizeWithinISA: RandomizeWithinISA

View source: R/RandomizeWithinISA.R

RandomizeWithinISAR Documentation

RandomizeWithinISA

Description

This function is used in close connection with InitializeISARandomizer and if a new version of this fuction is developed a new version InitializeISARandomizer with the same class is required. RandomizeWithInISA should return a list with at least the following items nTrt - The treatment within the ISA that the patient should receive cISARand - the same is cISARand but if it is updates this allows the caller to get the update.

Usage

RandomizeWithinISA(cISARand, dCurrentTime)

## Default S3 method:
RandomizeWithinISA(cISARand, dCurrentTime)

## S3 method for class 'EqualRandomizer'
RandomizeWithinISA(cISARand, dCurrentTime)

## S3 method for class 'POCRandomizer'
RandomizeWithinISA(cISARand, dCurrentTime)

## S3 method for class 'DelayedStartRandomizer'
RandomizeWithinISA(cISARand, dCurrentTime)

Methods (by class)

  • RandomizeWithinISA(default): Because several options are provided and there in no well defined default an stop error occurs if you call the default method.

  • RandomizeWithinISA(EqualRandomizer): Patients are randomized equally/fairly amount the treatments in the ISA.

  • RandomizeWithinISA(POCRandomizer): This randomzier will randomize the first patients to a select set of arms or doses in the ISA (eg a POC phase). The remaining arms or doses are opened based on the number of intitial patients.

  • RandomizeWithinISA(DelayedStartRandomizer): This version will randomize the first patients to a select set of arms or doses in the ISA (eg a POC phase) The remaining arms or doses are opened based on the provided times to open.

See Also

View Code on GitHub

View Code on GitHub

InitializeISARandomizer.EqualRandomizer

View Code on GitHub

InitializeISARandomizer.POCRandomizer

View Code on GitHub

InitializeISARandomizer.DelayedStartRandomizer

View Code on GitHub


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