Diff of /man/remove_treat_arms.Rd [000000] .. [d9ee58]

Switch to unified view

a b/man/remove_treat_arms.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/prevalence.R
3
\name{remove_treat_arms}
4
\alias{remove_treat_arms}
5
\title{Close off treatment arms.
6
In the list of treatment arm IDs, replaces the vector of recruitment
7
arm IDs with NA.
8
If any recruitment arms are closed, sets their prevalence to zero but
9
does not recalculate prevalence vector, on the assumption that recruitment
10
from aites will fall because no patients with those characteristics will
11
be recruited from that point.
12
Class object will automatically generate new trial structure and
13
prevalence matrices.}
14
\usage{
15
remove_treat_arms(structure_obj, ...)
16
}
17
\arguments{
18
\item{structure_obj}{An object of class \code{trial_structure}.}
19
20
\item{arms}{Vector or scalar of integer arm ID numbers to remove}
21
}
22
\description{
23
Close off treatment arms.
24
In the list of treatment arm IDs, replaces the vector of recruitment
25
arm IDs with NA.
26
If any recruitment arms are closed, sets their prevalence to zero but
27
does not recalculate prevalence vector, on the assumption that recruitment
28
from aites will fall because no patients with those characteristics will
29
be recruited from that point.
30
Class object will automatically generate new trial structure and
31
prevalence matrices.
32
}