# S4 method for class '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.

Details

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 )