|
a |
|
b/man/accrue_week.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/recruit.R |
|
|
3 |
\name{accrue_week} |
|
|
4 |
\alias{accrue_week} |
|
|
5 |
\title{Generate accrual for a week and assign it to the |
|
|
6 |
accrual object. Increments the property "week", |
|
|
7 |
which holds the next week number to accrue.} |
|
|
8 |
\usage{ |
|
|
9 |
accrue_week(accrual_obj, struct_obj, ...) |
|
|
10 |
} |
|
|
11 |
\arguments{ |
|
|
12 |
\item{accrual_obj}{An object of class "accrual"} |
|
|
13 |
|
|
|
14 |
\item{struct_obj}{An object of class "trial_structure"} |
|
|
15 |
|
|
|
16 |
\item{fixed_site_rates}{TRUE if expected site rate to be used; FALSE |
|
|
17 |
draws the site rate from a gamma distribution} |
|
|
18 |
} |
|
|
19 |
\value{ |
|
|
20 |
An object of class "accrual" |
|
|
21 |
} |
|
|
22 |
\description{ |
|
|
23 |
Generate accrual for a week and assign it to the |
|
|
24 |
accrual object. Increments the property "week", |
|
|
25 |
which holds the next week number to accrue. |
|
|
26 |
} |