Description Usage Arguments Value Examples
This function simulates enrollment dates using either Poisson distribution
1 | enrollment(param, N_total, time = NULL)
|
param |
vector. Lambda values for Poisson distribution. |
N_total |
integer. Value of total sample size. |
time |
vector. Knots (of |
A vector of enrollment times (from time of first patient enrollment) in days.
1 2 3 | enrollment(param = c(0.003, 0.7), 100, time = 10)
enrollment(param = c(0.3, 0.5, 0.9, 1.2, 2.1), 200, c(20, 30, 40, 60))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.