[d9ee58]: / man / do_choose_cap.Rd

Download this file

20 lines (18 with data), 548 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/recruit.R
\name{do_choose_cap}
\alias{do_choose_cap}
\title{Select arms to cap for single site, or sites to cap for single arm}
\usage{
do_choose_cap(population, captotal)
}
\arguments{
\item{population}{Vector of allocations of patients this week}
\item{captotal}{Value of cap for site or arm (as appropriate)}
}
\value{
Vector of arms to cap (can include multiples of the same arm)
}
\description{
Select arms to cap for single site, or sites to cap for single arm
}