| ArtCohort {gems} | R Documentation |
Class "ArtCohort"
Description
Is a S4 class for the artificial cohort generated by simulateCohort.
Usage
## 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)
Arguments
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 |
Slots
states.numberObject of class
"numeric": number of statessizeObject of class
"numeric": cohort sizebaselineObject of class
"matrix": baseline matrixfollow.upObject of class
"numeric": maximum follow-up timeparametersObject of class
"transition.structure": input parametersparametersCovariancesObject of class
"transition.structure": input covariance matricestimeToTransitionObject of class
"matrix": input timeToTransition matrix. logical componentstransitionFunctionsObject of class
"transition.structure": input hazard functionstime.to.stateObject of class
"data.frame": entry times for each patient into each of the states
Objects from the Class
Objects are created by calls to the
function simulateCohort.
Author(s)
Luisa Salazar Vizcaya, Nello Blaser, Thomas Gsponer
See Also
simulateCohort,
transition.structure,
transitionProbabilities, cumulativeIncidence
Examples
showClass("ArtCohort")