Description Usage Arguments Value Author(s) Examples
This is a function to create accrual graphs for trials. Similar output to the %accgph() macro.
1 2 3 4 5 6 7 8 9 10 11 12 |
data |
The dataset with the patients you want to use. Must contain patient IDs and patient "on date" |
protnum |
The study number as a character. |
id |
The patient ID variable in quotes used in the dataset |
date.on |
The variable that contains the patient "on date". Entered as character. |
open.dt |
The study open date. Alternatively, the lower limit for date you want to use for the start of the graph. Entered in "mm/dd/yyyy" format. |
froz.dt |
The upper limit for the patient "on dates". Entered in "mm/dd/yyyy" format. |
expmth |
The number of expected patients accrued per month. Available in protocol. |
y.breaks |
The distance between each y-axis break. Default is y.lim/10 rounded to the nearest 10. |
exp.pts |
The number of patient expected to be accrued for the study |
y.lim |
Limit for y-axis. Default is the number of rows in the given dataset. |
This function creates a month by month accrual graph.
Sawyer Jacobson
Adam Pettinger
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.