msfit
(Package: mstate) :
Compute subject-specific transition hazards with (co-)variances
This function computes subject-specific or overall cumulative transition hazards for each of the possible transitions in the multi-state model. If requested, also the variances and covariances of the estimated cumulative transition hazards are calculated.
● Data Source:
CranContrib
● Keywords: survival
● Alias: msfit
●
0 images
|
paths
(Package: mstate) :
Find all possible trajectories through a given multi-state model
For a given multi-state model, specified through a transition matrix, paths recursively finds all the possible trajectories or paths through that multi-state starting from a specified state. DO NOT USE for reversible or cyclic multi-state models.
● Data Source:
CranContrib
● Keywords: array
● Alias: paths
●
0 images
|
msprep
(Package: mstate) :
Function to prepare dataset for multi-state modeling in long
This function converts a dataset which is in wide format (one subject per line, multiple columns indicating time and status for different states) into a dataset in long format (one line for each transition for which a subject is at risk). Selected covariates are replicated per subjects.
● Data Source:
CranContrib
● Keywords: datagen
● Alias: msprep
●
0 images
|
xsect
(Package: mstate) :
Make a cross-section of multi-state data at a given time point
Given a dataset in long format, for instance generated by msprep , this function takes a cross-section at a given time point, to list the subjects under observation (at risk) at that time point and the states currently occupied.
● Data Source:
CranContrib
● Keywords: univar
● Alias: xsect
●
0 images
|
expand.covs.msdata
(Package: mstate) :
Expand covariates in multi-state dataset in long format
Given a multi-state dataset in long format, and one or more covariates, this function adds transition-specific covariates, expanding the original covariate(s), to the dataset. The original dataset with the transition-specific covariates appended is returned.
● Data Source:
CranContrib
● Keywords: datagen
● Alias: expand.covs.msdata
●
0 images
|
print.msdata
(Package: mstate) :
Print method for a msdata object
Print method for an object of class 'msdata'
● Data Source:
CranContrib
● Keywords: hplot
● Alias: print.msdata
●
0 images
|
crprep
(Package: mstate) :
Function to create weighted data set for competing risks
This function converts a dataset that is in short format (one subject per line) into a counting process format with time-varying weights that correct for right censored and left truncated data. With this data set, analyses based on the subdistribution hazard can be performed.
● Data Source:
CranContrib
● Keywords: datagen, survival
● Alias: crprep, crprep.default
●
0 images
|
ELOS
(Package: mstate) :
Expected length of stay
Given a "probtrans" object, ELOS calculates the (restricted) expected length of stay in each of the states of the multi-state model.
● Data Source:
CranContrib
● Keywords: univar
● Alias: ELOS
●
0 images
|
redrank
(Package: mstate) :
Reduced rank proportional hazards model for competing risks and
This function estimates regression coefficients in reduced rank proportional hazards models for competing risks and multi-state models.
● Data Source:
CranContrib
● Keywords: survival
● Alias: redrank
●
0 images
|
cutLMms
(Package: mstate) :
Cut a multi-state data set at a landmark time point
Given a dataset in long format, for instance generated by msprep , this function cuts a multi-state data frame (object of type "msdata") at a landmark time point LM. Administrative censoring can be applied at time cens , equal for all individuals.
● Data Source:
CranContrib
● Keywords: univar
● Alias: cutLMms
●
0 images
|