|
a |
|
b/man/Study-class.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/study.R |
|
|
3 |
\docType{class} |
|
|
4 |
\name{Study-class} |
|
|
5 |
\alias{Study-class} |
|
|
6 |
\title{Class defining the Study} |
|
|
7 |
\description{ |
|
|
8 |
Class defining the Study |
|
|
9 |
} |
|
|
10 |
\section{Slots}{ |
|
|
11 |
|
|
|
12 |
\describe{ |
|
|
13 |
\item{\code{HR}}{Hazard ratio to be detected} |
|
|
14 |
|
|
|
15 |
\item{\code{alpha}}{Significance level [0,1] (see also two-sided indicator)} |
|
|
16 |
|
|
|
17 |
\item{\code{power}}{Power [0,1]} |
|
|
18 |
|
|
|
19 |
\item{\code{two.sided}}{If TRUE, two sided test will be used (i.e. alpha/2).} |
|
|
20 |
|
|
|
21 |
\item{\code{r}}{Control:Experimental subject balance (1:r), i.e. nE/nC=r. r=1 corresponds to equally |
|
|
22 |
many subjects in both arms. 2 means we have twice the number of subjects in the experimental arm. |
|
|
23 |
Specifically \code{floor(r*N/(r+1))} subjects are |
|
|
24 |
allocated to the experimental arm and all other subjects are allocated to the control arm.} |
|
|
25 |
|
|
|
26 |
\item{\code{N}}{Number of subjects to be recruited (integer)} |
|
|
27 |
|
|
|
28 |
\item{\code{study.duration}}{Number of months the study will be going.} |
|
|
29 |
|
|
|
30 |
\item{\code{ctrlSpec}}{A CtrlSpec object which calculates the control group median. This object will be created automatically |
|
|
31 |
when calling a constructor for the Study class.} |
|
|
32 |
|
|
|
33 |
\item{\code{dropout}}{A list of CtrlSpec object which calculates the median drop out rate for the control arm (index 1) and |
|
|
34 |
active arm (index 2). |
|
|
35 |
This object will be created automatically when calling a constructor for the study class} |
|
|
36 |
|
|
|
37 |
\item{\code{dropout.shape}}{The Weibull shape parameter of the dropout hazard function} |
|
|
38 |
|
|
|
39 |
\item{\code{k}}{non-uniformity of accrual (integer, 1=uniform). Non-uniform accrual is allowed for |
|
|
40 |
using the following distribution for the probability of a patient entering the trial at time \eqn{b} |
|
|
41 |
within the accrual period \eqn{[0,B]}: \eqn{F(b)=b_k/B_k}; \eqn{f(b)=k b_{k-1}/B_k} where \eqn{k} is the |
|
|
42 |
measure of non-uniformity (\eqn{k>0}). \eqn{k=1} indicates uniform accrual. This implies that during |
|
|
43 |
the first half of the accrual period, \eqn{1/2^k} of the patients will be recruited. Half of the patients |
|
|
44 |
will be recruited by time \eqn{B/2^{1/k}}.} |
|
|
45 |
|
|
|
46 |
\item{\code{acc.period}}{Accrual time in months} |
|
|
47 |
|
|
|
48 |
\item{\code{shape}}{The Weibull shape parameter} |
|
|
49 |
|
|
|
50 |
\item{\code{followup}}{The time a subject is followed after randomization, if Inf then there is no fixed time period} |
|
|
51 |
|
|
|
52 |
\item{\code{type}}{Character: The study type, either "Oncology" or "CRGI"} |
|
|
53 |
|
|
|
54 |
\item{\code{lag.settings}}{The \code{LaggedEffect} object describing any lag effect for the study} |
|
|
55 |
}} |
|
|
56 |
|