Description Usage Arguments Value Examples
View source: R/PlotProximalEffect.R
plot of the graphs for the proximal treatment effect when the trend for the proximal treatment effect is constant, linear or quadractic.
1 2 3 4 5 6 7 8 | plotProximalEffect(
days,
occ_per_day,
beta_shape,
beta_mean,
beta_initial,
beta_quadratic_max
)
|
days |
Duration of the study. |
occ_per_day |
Number of decision time points per day. |
beta_shape |
The trend for the proximal treatment effect, choices are constant, linear or quadratic. Note:
|
beta_mean |
Average of proximal treatment effect. |
beta_initial |
Initial value of proximal treatment effect when beta_shape is linear or quadratic. |
beta_quadratic_max |
Day of maximal proximal treatment effect when beta_shape is quadratic. |
A graph for the proximal treatment effect.
1 2 3 4 5 6 | plotProximalEffect(days=42,
occ_per_day=5,
beta_shape="quadratic",
beta_mean=0.1,
beta_initial=0,
beta_quadratic_max=28)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.