cdm.status | R Documentation |
cdm.status()
is a function to provide an overview of the trial status
cdm.status(d, sample.size, planned.years, rolling.average, caption)
d |
list of dates for each participant included. |
sample.size |
the planned sample size |
planned.years |
the planned duration of the trial |
rolling.average |
the number of participant to be included to calculate the predicted inclusion rate |
caption |
boolean to add or remove a small description of the figure. |
returns a list where $fig
is the figure; $txt
is as summary
of the findings; and $df
is the dataframe generated in the function.
## Not run:
tmp <- cdm.status(d,sample.size=1808)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.