# S4 method for AccrualMethods SimulateAdditionalArrivalTimes(cAP, nQtyPats, vCurrentStartTimes)
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. |
NewAccrualProcess
for creating the object.
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 )