Description Usage Arguments Slots Objects from the Class Author(s) See Also Examples
Is a S4 class for the artificial cohort generated by simulateCohort
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## S4 method for signature 'ArtCohort,ANY,ANY,ANY'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'ArtCohort'
update(object, newsize, addbaseline = matrix(NA, nrow =
newsize - object@size), newInitialStates = rep(1, newsize - object@size))
## S4 method for signature 'ArtCohort'
head(x, ...)
## S4 method for signature 'ArtCohort'
tail(x, ...)
## S4 method for signature 'ArtCohort'
summary(object)
|
x, object |
an ArtCohort |
i, j, drop |
same as for |
... |
passed on to |
newsize |
size of the updated cohort |
addbaseline |
baseline for new part of cohort |
newInitialStates |
initial states for new part of cohort |
states.number
Object of class "numeric"
: number of states
size
Object of class "numeric"
: cohort size
baseline
Object of class "matrix"
: baseline matrix
follow.up
Object of class "numeric"
: maximum follow-up time
parameters
Object of class "transition.structure"
: input parameters
parametersCovariances
Object of class "transition.structure"
:
input covariance matrices
timeToTransition
Object of class "matrix"
:
input timeToTransition matrix. logical components
transitionFunctions
Object of class "transition.structure"
:
input hazard functions
time.to.state
Object of class "data.frame"
: entry times for each
patient into each of the states
Objects are created by calls to the
function simulateCohort
.
Luisa Salazar Vizcaya, Nello Blaser, Thomas Gsponer
simulateCohort
,
transition.structure
,
transitionProbabilities
, cumulativeIncidence
1 | showClass("ArtCohort")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.