SimulateAdditionalArrivalTimes: SimulateAdditionalArrivalTimes

SimulateAdditionalArrivalTimesR Documentation

SimulateAdditionalArrivalTimes

Usage

## S4 method for signature 'AccrualMethods'
SimulateAdditionalArrivalTimes(cAP, nQtyPats, vCurrentStartTimes)

Arguments

nQtyPats

Number of additonal times to simulate

vCurrentStartTimes

a vector of the current start times. The new times will be after the last element and the vector appended to.

See Also

NewAccrualProcess for creating the object.

Examples

  vPatsPerMonth  <- c(5, 10, 15, 20, 30, 40, 50) # The ramp up in expected Pat/month
  nMaxQtyPats    <- 100  # Maximum of 100 patients
  ap             <- NewAccrualProcess( vQtyPatsPerMonth = vPatsPerMonth, nMaxQtyPatients = nMaxQtyPats )
  vAccTimes      <- SimulateArrivalTimes( ap )


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