|
a |
|
b/man/plot.accrualplotdata.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/utils-graphics.R |
|
|
3 |
\name{plot.accrualplotdata} |
|
|
4 |
\alias{plot.accrualplotdata} |
|
|
5 |
\title{S3 method to plot predicted recruitment from a long format |
|
|
6 |
dataframe of class "accrualplotdata".} |
|
|
7 |
\usage{ |
|
|
8 |
\method{plot}{accrualplotdata}( |
|
|
9 |
data, |
|
|
10 |
plot_prefix = "accrual_plot", |
|
|
11 |
run_time = NULL, |
|
|
12 |
output_path = "../biomkrAccrual_output_data/", |
|
|
13 |
figs_path = paste0(output_path, "figures/"), |
|
|
14 |
target_arm_size = NA_integer_, |
|
|
15 |
target_control = NA_integer_, |
|
|
16 |
target_interim = NA_integer_, |
|
|
17 |
accrual_period = NA_integer_, |
|
|
18 |
interim_period = NA_integer_ |
|
|
19 |
) |
|
|
20 |
} |
|
|
21 |
\arguments{ |
|
|
22 |
\item{data}{long format dataframe with columns "Week", |
|
|
23 |
"Arm" and "Recruitment".} |
|
|
24 |
|
|
|
25 |
\item{plot_prefix}{Prefix for file name to identify plot type. |
|
|
26 |
Defaults to \code{accrual_plot}.} |
|
|
27 |
|
|
|
28 |
\item{run_time}{Specify a particular instance of \code{biomkrAccrual()} |
|
|
29 |
execution using a date-time format \code{yyyy-mm-dd-hh-mm-ss}.} |
|
|
30 |
|
|
|
31 |
\item{output_path}{= Directory where the output files from the |
|
|
32 |
\code{biomkrAccrual()} instance are located.} |
|
|
33 |
|
|
|
34 |
\item{figs_path}{Folder where figures generated during execution |
|
|
35 |
will be stored; defaults to the \code{figures} subdirectory in |
|
|
36 |
\code{output_path}.} |
|
|
37 |
|
|
|
38 |
\item{target_arm_size}{Number of subjects required for each treatment arm.} |
|
|
39 |
|
|
|
40 |
\item{target_control}{Number of subjects required for control arm(s).} |
|
|
41 |
|
|
|
42 |
\item{target_interim}{Number of subjects required for treatment arm at |
|
|
43 |
interim analysis.} |
|
|
44 |
|
|
|
45 |
\item{accrual_period}{Number of weeks in recruitment period.} |
|
|
46 |
|
|
|
47 |
\item{interim_period}{Number of weeks to recruit for interim analysis.} |
|
|
48 |
} |
|
|
49 |
\description{ |
|
|
50 |
S3 method to plot predicted recruitment from a long format |
|
|
51 |
dataframe of class "accrualplotdata". |
|
|
52 |
} |