Learn R Programming

⚠️There's a newer version (3.7.0) of this package.Take me there.

frailtypack (version 3.4.0)

Shared, Joint (Generalized) Frailty Models; Surrogate Endpoints

Description

The following several classes of frailty models using a penalized likelihood estimation on the hazard function but also a parametric estimation can be fit using this R package: 1) A shared frailty model (with gamma or log-normal frailty distribution) and Cox proportional hazard model. Clustered and recurrent survival times can be studied. 2) Additive frailty models for proportional hazard models with two correlated random effects (intercept random effect with random slope). 3) Nested frailty models for hierarchically clustered data (with 2 levels of clustering) by including two iid gamma random effects. 4) Joint frailty models in the context of the joint modelling for recurrent events with terminal event for clustered data or not. A joint frailty model for two semi-competing risks and clustered data is also proposed. 5) Joint general frailty models in the context of the joint modelling for recurrent events with terminal event data with two independent frailty terms. 6) Joint Nested frailty models in the context of the joint modelling for recurrent events with terminal event, for hierarchically clustered data (with two levels of clustering) by including two iid gamma random effects. 7) Multivariate joint frailty models for two types of recurrent events and a terminal event. 8) Joint models for longitudinal data and a terminal event. 9) Trivariate joint models for longitudinal data, recurrent events and a terminal event. 10) Joint frailty models for the validation of surrogate endpoints in multiple randomized clinical trials with failure-time endpoints 11) Conditional and Marginal two-part joint models for longitudinal semicontinuous data and a terminal event. 12) Joint frailty-copula models for the validation of surrogate endpoints in multiple randomized clinical trials with failure-time endpoints. 13) Generalized shared and joint frailty models for recurrent and terminal events. Proportional hazards (PH), additive hazard (AH), proportional odds (PO) and probit models are available in a fully parametric framework. For PH and AH models, it is possible to consider type-varying coefficients and flexible semiparametric hazard function. Prediction values are available (for a terminal event or for a new recurrent event). Left-truncated (not for Joint model), right-censored data, interval-censored data (only for Cox proportional hazard and shared frailty model) and strata are allowed. In each model, the random effects have the gamma or normal distribution. Now, you can also consider time-varying covariates effects in Cox, shared and joint frailty models (1-5). The package includes concordance measures for Cox proportional hazards models and for shared frailty models. Moreover, the package can be used with its shiny application, in a local mode or by following the link below.

Copy Link

Version

Install

install.packages('frailtypack')

Monthly Downloads

1,429

Version

3.4.0

License

GPL (>= 2.0)

Maintainer

Virginie Rondeau

Last Published

June 16th, 2021

Functions in frailtypack (3.4.0)

GenfrailtyPenal

Fit a Shared or a Joint Frailty Generalized Survival Model
SurvIC

Create a survival object for interval censoring and possibly left truncated data
bcos

Breast Cosmesis Data
cluster

Identify clusters
colorectalLongi

Follow-up of metastatic colorectal cancer patients : longitudinal measurements of tumor size
Cmeasures

Concordance measures in shared frailty and Cox proportional hazard models
additivePenal

Fit an Additive Frailty model using a semiparametric penalized likelihood estimation or a parametric estimation
dataAdditive

Simulated data as a gathering of clinical trials databases
Diffepoce

Difference of Expected Prognostic Observed Cross-Entropy (EPOCE) estimators and its 95% tracking interval between two joint models.
colorectal

Follow-up of metastatic colorectal cancer patients: times of new lesions appearance and death
dataMultiv

Simulated data for two types of recurrent events and a terminal event
epoce

Estimators of the Expected Prognostic Observed Cross-Entropy (EPOCE) for evaluating predictive accuracy of joint models.
frailtyPenal

Fit a Shared, Joint or Nested Frailty model
dataNCC

Simulated data for recurrent events and a terminal event with weigths using nested case-control design
event2

Identify event2 indicator
dataOvarian

Advanced Ovarian Cancer dataset
dataNested

Simulated data with two levels of grouping
frailtypack-package

General Frailty models: shared, joint and nested frailty models with prediction; Evaluation of Failure-Time Surrogate Endpoints
hazard

Hazard function.
gastadj

Advanced Gastric Cancer dataset
jointSurrSimul

Generate survival times for two endpoints using the joint frailty surrogate model
longDat

Longitudinal semicontinuous biomarker dataset (TPJM)
multivPenal

Fit a multivariate frailty model for two types of recurrent events and a terminal event.
jointSurroCopPenal

Fit the one-step Joint frailty-copula model for evaluating a canditate surrogate endpoint
jointSurrCopSimul

Generate survival times for two endpoints using the joint frailty-copula model for surrogacy
loocv

The trials leave-one-out crossvalidation for the one-step Joint surrogate model for evaluating a canditate surrogate endpoint.
jointSurroTKendall

Kendall's \(\tau\) estimation using numerical integration methods
jointSurroPenalSimul

Simulation studies based on the one-step Joint surrogate models for the evaluation of a canditate surrogate endpoint
plot.jointPenal

Plot Method for a Joint frailty model.
jointSurroPenal

Fit the one-step Joint surrogate model for evaluating a canditate surrogate endpoint
plot.jointSurroPenal

Plot Method for the one-step Joint surrogate model for the evaluation of a canditate surrogate endpoint.
longiPenal

Fit a Joint Model for Longitudinal Data and a Terminal Event
num.id

Identify individuals in Joint model for clustered data
plot.Diffepoce

Plot difference of EPOCE estimators between two joint frailty models.
plot.jointNestedPenal

Plot method for a joint nested frailty model.
plot.frailtyPenal

Plot Method for a Shared frailty model.
plot.additivePenal

Plot Method for an Additive frailty model.
plot.epoce

Plot values of estimators of the Expected Prognostic Observed Cross-Entropy (EPOCE).
plotTreatPredJointSurro

Plot of the prediction of the treatment effect on the true endpoint and the STE
plot.predFrailty

Plot predictions using a Cox or a shared frailty model.
plot.trivPenalNL

Plot Method for a Non-Linear Trivariate Joint Model for Recurrent Events and a Terminal Event with a Biomarker Described with an ODE.
plot.predJoint

Plot predictions using a joint frailty model.
plot.longiPenal

Plot Method for a joint model for longitudinal data and a terminal event.
plot.jointSurroPenalloocv

Plot of trials leave-one-out crossvalidation Outputs from the one-step Joint surrogate model for evaluating a canditate surrogate endpoint.
print.jointPenal

Print a Short Summary of parameter estimates of a joint frailty model
print.jointSurroPenal

Summary of the random effects parameters, the fixed treatment effects, and the surrogacy evaluation criteria estimated from a joint surrogate model
print.additivePenal

Print a Short Summary of parameter estimates of an additive frailty model
print.Cmeasures

Print a short summary of results of Cmeasure function.
print.trivPenalNL

Print a Summary of parameter estimates of a non-linear trivariate joint model for longitudinal data, recurrent events and a terminal event
print.trivPenal

Print a Summary of parameter estimates of a joint model for longitudinal data, recurrent events and a terminal event
predict.jointSurroPenal

S3method predict for the one-step Joint surrogate models for the evaluation of a canditate surrogate endpoint.
print.prediction

Print a short summary of results of prediction function.
summary.additivePenal

summary of parameter estimates of an additive frailty model
subcluster

Identify subclusters
print.nestedPenal

Print a Short Summary of parameter estimates of a nested frailty model
prediction

Prediction probabilities for Cox proportional hazard, Shared, Joint frailty models, Joint models for longitudinal data and a terminal event and Trivariate joint model for longitudinal data, recurrent events and a terminal event (linear and non-linear).
plot.nestedPenal

Plot Method for a Nested frailty model.
plot.multivPenal

Plot Method for a multivariate frailty model.
readmission

Rehospitalization colorectal cancer
summary.trivPenal

Short summary of fixed covariates estimates of a joint model for longitudinal data, recurrent events and a terminal event
summary.frailtyPenal

summary of parameter estimates of a shared frailty model
plot.predLongi

Plot predictions using a joint model for longitudinal data and a terminal event or a trivariate joint model for longitudinal data, recurrent events and a terminal event.
summary.multivPenal

summary of parameter estimates of a multivariate frailty model.
summary.jointNestedPenal

summary of parameter estimates of a joint nested frailty model
summary.nestedPenal

summary of regression coefficient estimates of a nested frailty model
summary.trivPenalNL

Short summary of fixed covariates estimates of a non-linear trivariate joint model for longitudinal data, recurrent events and a terminal event
print.jointNestedPenal

Print a Short Summary of parameter estimates of a joint nested frailty model
summary.longiPenal

Short summary of fixed covariates estimates of a joint model for longitudinal data and a terminal event
summary.jointSurroPenalSimul

Short summary of the simulation studies based on a joint surrogate model
print.frailtyPenal

Print a Short Summary of parameter estimates of a shared frailty model
runShiny

Shiny application for modelisation and prediction of frailty models
survival

Survival function
survDat

Survival dataset (TPJM)
print.longiPenal

Print a Summary of parameter estimates of a joint model for longitudinal data and a terminal event
slope

Identify variable associated with the random slope
print.multivPenal

Print a Short Summary of parameter estimates of a multivariate frailty model
plot.trivPenal

Plot Method for a trivariate joint model for longitudinal data, recurrent events and a terminal event.
wts

Identify weights
trivPenal

Fit a Trivariate Joint Model for Longitudinal Data, Recurrent Events and a Terminal Event
summary.jointPenal

summary of parameter estimates of a joint frailty model
terminal

Identify terminal indicator
ste

Surrogate threshold effect for the one-step Joint surrogate model for the evaluation of a canditate surrogate endpoint.
summary.jointSurroPenal

Short summary of the surrogacy evaluation criteria estimated from a joint surrogate model
timedep

Identify time-varying effects
trivPenalNL

Fit a Non-Linear Trivariate Joint Model for Recurrent Events and a Terminal Event with a Biomarker Described with an ODE Population Model