|
a |
|
b/man/treat_sums.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/recruit.R |
|
|
3 |
\name{treat_sums} |
|
|
4 |
\alias{treat_sums} |
|
|
5 |
\alias{treat_sums.biomkrAccrual::accrual} |
|
|
6 |
\title{Sum accrual array element of accrual object, by experimental |
|
|
7 |
arm (including control).} |
|
|
8 |
\usage{ |
|
|
9 |
treat_sums(x, ...) |
|
|
10 |
|
|
|
11 |
\method{treat_sums}{`biomkrAccrual::accrual`}(x, control_total = FALSE, na.rm = TRUE) |
|
|
12 |
} |
|
|
13 |
\arguments{ |
|
|
14 |
\item{x}{Object of class \code{accrual}.} |
|
|
15 |
|
|
|
16 |
\item{control_total}{Logical; if TRUE return single total for all |
|
|
17 |
control arms} |
|
|
18 |
} |
|
|
19 |
\value{ |
|
|
20 |
vector of total accrual by experimental arm |
|
|
21 |
} |
|
|
22 |
\description{ |
|
|
23 |
Sum accrual array element of accrual object, by experimental |
|
|
24 |
arm (including control). |
|
|
25 |
} |