Learn R Programming

discfrail (version 0.2)

Cox Models for Time-to-Event Data with Nonparametric Discrete Group-Specific Frailties

Description

Functions for fitting Cox proportional hazards models for grouped time-to-event data, where the shared group-specific frailties have a discrete nonparametric distribution. The methods proposed in the package is described by Gasperoni, F., Ieva, F., Paganoni, A. M., Jackson, C. H., Sharples, L. (2018) . There are also functions for simulating from these models, with a nonparametric or a parametric baseline hazard function.

Copy Link

Version

Install

install.packages('discfrail')

Monthly Downloads

177

Version

0.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Francesca Gasperoni

Last Published

June 18th, 2025

Functions in discfrail (0.2)

survfit_npdf

Kaplan-Meier estimates of group-specific cumulative hazard from a nonparametric discrete frailty model
weibdata10040

Hierarchical time-to-event data simulated from a Weibull baseline distribution with a nonparametric frailty
print.npdflist

Print output from a nonparametric discrete frailty modelling procedure with automatic model selection.
plot.survfit_npdf

Plot Kaplan-Meier estimates of group-specific cumulative hazard from a nonparametric discrete frailty model
sim_npdf

Simulation of grouped time-to-event data with nonparametric baseline hazard and discrete shared frailty distribution
sim_weibdf

Simulation of grouped time-to-event data with Weibull baseline hazard and discrete shared frailty distribution
plot.npdf

Survival or cumulative hazard curves from a fitted nonparametric discrete frailty model
print.npdf

Print output from a fitted nonparametric discrete frailty model
plot.npdflist

Survival or cumulative hazard curves from a nonparametric discrete frailty model chosen by automatic model selection
weibdata2030

Hierarchical time-to-event data simulated from a Weibull baseline distribution with a nonparametric frailty
nelsonaalen_npdf

Nelson-Aalen estimates of group-specific cumulative hazard from a nonparametric discrete frailty model
discfrail-package

discfrail: Cox Models for Time-to-Event Data with Nonparametric Discrete Group-Specific Frailties.
npdf_cox

Cox model for grouped survival data with nonparametric discrete shared frailties
plot.nelsonaalen_npdf

Plot Nelson-Aalen estimates of group-specific cumulative hazard from a nonparametric discrete frailty model