plotExpectAvail {MRTSampleSize} | R Documentation |
plot the graph for the expected availability
Description
plot of the graphs for the expected availability, i.e., the expected probability that a participant is available to receive treatment at a decision time. when the pattern for the expected availability is constant, linear or quadractic.
Usage
plotExpectAvail(
days,
occ_per_day,
tau_shape,
tau_mean,
tau_initial,
tau_quadratic_max
)
Arguments
days |
Duration of the study. |
occ_per_day |
Number of decision time points per day. |
tau_shape |
The pattern for expected availability, choices are constant, linear or quadratic. Note:
|
tau_mean |
Average of expected availability. |
tau_initial |
Initial Value of expected availability when tau_shape is linear or quadratic. |
tau_quadratic_max |
Changing point of availability when tau_shape is quadratic. |
Value
A graph for expected availability.
Examples
plotExpectAvail(days=42,
occ_per_day=5,
tau_shape="quadratic",
tau_mean=0.5,
tau_initial=0.7,
tau_quadratic_max=42)