Description Usage Arguments Details See Also Examples
Function eventCourse
plots the results of function recruitment
and function event
.
1 | eventCourse(r, e1 = NULL, lp = "topright")
|
r |
recruitment scenario calculated with function |
e1 |
optional. Event simulation from function |
lp |
optional. Position of legend, specified by keyword: "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right", or "center". |
Function eventCourse
produces two plots to display results of enrollment
and treatment simulations.
The first plot displays the cumulative number of centers that have been opened as well as the cumulative number of centers that have been closed, if applicable, per trial week.
The second plot displays the number of patients that have been screened and enrolled per trial week.
If the parameter e1
is not NULL
, then
the number of events and the number of drop-outs before first event ist displayed.
event
for simulating the events for a given recruitment scenario;
recruitment
for simulating recruitment scenarios.
1 2 3 | x=recruitment(nc=Inf,ns=Inf,cw=4,sw=2,sf=0.3,tb=4,en=400)
y=event(r=x,er=0.12,dr=0.08,du=50)
eventCourse(r=x,e1=y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.