
Simulate Binary Patient Outcomes
SimulatePatientOutcomePercentAtZero.Binary.RdCalls the structural-zero implementation from the common 2ArmBinaryOutcomePatientSimulation example.
Usage
SimulatePatientOutcomePercentAtZero.Binary(
NumSub,
NumArm,
ArrivalTime,
TreatmentID,
PropResp,
UserParam = NULL
)Arguments
- NumSub
Integer number of subjects.
- NumArm
Integer number of trial arms.
- ArrivalTime
Numeric subject arrival times.
- TreatmentID
Integer treatment identifiers beginning at
0.- PropResp
Numeric response probability for each arm.
- UserParam
Optional list of user-defined parameters described in the complete example.