|
a |
|
b/man/estimateAccrualParameter-methods.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/accrual.R |
|
|
3 |
\docType{methods} |
|
|
4 |
\name{estimateAccrualParameter} |
|
|
5 |
\alias{estimateAccrualParameter} |
|
|
6 |
\alias{estimateAccrualParameter,EventData-method} |
|
|
7 |
\title{Generic function to estimate non-uniformity accrual |
|
|
8 |
parameter \code{k}} |
|
|
9 |
\usage{ |
|
|
10 |
estimateAccrualParameter(object, ...) |
|
|
11 |
|
|
|
12 |
\S4method{estimateAccrualParameter}{EventData}(object, |
|
|
13 |
start.date = min(object@subject.data$rand.date), |
|
|
14 |
end.date = max(object@subject.data$rand.date)) |
|
|
15 |
} |
|
|
16 |
\arguments{ |
|
|
17 |
\item{object}{An \code{EventData} object} |
|
|
18 |
|
|
|
19 |
\item{...}{Additional arguments to be passed to specific method} |
|
|
20 |
|
|
|
21 |
\item{start.date}{The startdate for recruitment, by default the date |
|
|
22 |
the first subject is recruited. If subjects are recruited on start.date, it is |
|
|
23 |
assumed they are recruited on the following day to avoid log(0) in the |
|
|
24 |
maximum likelihood estimate.} |
|
|
25 |
|
|
|
26 |
\item{end.date}{The end date for recruitment, by default the date |
|
|
27 |
the last subject is recruited.} |
|
|
28 |
} |
|
|
29 |
\value{ |
|
|
30 |
A maximum likelihood estimate for k, see vignette |
|
|
31 |
for further details |
|
|
32 |
} |
|
|
33 |
\description{ |
|
|
34 |
Note The estimate produced assumes recruitment has completed. |
|
|
35 |
} |
|
|
36 |
|