|
a |
|
b/man/SingleSimDetails-class.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/singleSimDetails.R |
|
|
3 |
\docType{class} |
|
|
4 |
\name{SingleSimDetails-class} |
|
|
5 |
\alias{SingleSimDetails-class} |
|
|
6 |
\title{Class containing the subject level event data |
|
|
7 |
for each simulation} |
|
|
8 |
\description{ |
|
|
9 |
A class which contains the recruitment times |
|
|
10 |
event times and event types of all subjects and all |
|
|
11 |
simulations for a predict from data simulation. |
|
|
12 |
This class is created when performing simulation and does not |
|
|
13 |
need to be constructed manually |
|
|
14 |
} |
|
|
15 |
\section{Slots}{ |
|
|
16 |
|
|
|
17 |
\describe{ |
|
|
18 |
\item{\code{event.type}}{A matrix (1 row per subject, 1 column per simulation) of |
|
|
19 |
the reason subjects leave trial. 0 is have event, 1 is drop out and 2 is drop out due to follow up} |
|
|
20 |
|
|
|
21 |
\item{\code{event.times}}{A matrix (1 row per subject, 1 column per simulation) of |
|
|
22 |
dates (as numeric) subjects leave the trial} |
|
|
23 |
|
|
|
24 |
\item{\code{rec.times}}{A matrix (1 row per subject, 1 column per simulation) of |
|
|
25 |
recruitment dates (as numeric). |
|
|
26 |
Therefore event.times[i,j] - rec.times[i,j] + 1 is the time on study for |
|
|
27 |
subject i in simulation j} |
|
|
28 |
}} |
|
|
29 |
|