Description Usage Arguments Value Examples
View source: R/PlotExpectAvail.R
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.
1 2 3 4 5 6 7 8  plotExpectAvail(
days,
occ_per_day,
tau_shape,
tau_mean,
tau_initial,
tau_quadratic_max
)

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. 
A graph for expected availability.
1 2 3 4 5 6  plotExpectAvail(days=42,
occ_per_day=5,
tau_shape="quadratic",
tau_mean=0.5,
tau_initial=0.7,
tau_quadratic_max=42)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.