Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Random Generation of Survival Data

License

NotificationsYou must be signed in to change notification settings

fndemarqui/rsurv

Repository files navigation

CRAN_Status_BadgeDownloadsTotal Downloads

R-CMD-check

The R package rsurv is aimed for general survival data simulationpurposes. The package is built under a new approach to simulate survivaldata that depends deeply on the use of dplyr verbs. The proposed packageallows simulations of survival data from a wide range of regressionmodels, including accelerated failure time (AFT), proportional hazards(PH), proportional odds (PO), accelerated hazard (AH), Yang and Prentice(YP), and extended hazard (EH) models. The package rsurv also stands outby its ability to generate survival data from an unlimited number ofbaseline distributions provided that an implementation of the quantilefunction of the chosen baseline distribution is available in R. Anothernice feature of the package rsurv lies in the fact that linearpredictors are specified via a formula-based approach, facilitating theinclusion of categorical variables and interaction terms. The functionsimplemented in the package rsurv can also be employed to simulatesurvival data with more complex structures, such as survival data withdifferent types of censoring mechanisms, survival data with curefraction, survival data with random effects (frailties), multivariatesurvival data, and competing risks survival data. Details about the Rpackage rsurv can be found in Demarqui (2024)<doi.org/10.48550/arXiv.2406.01750>.

Installation

You can install the released version of rsurv fromCRAN with:

install.packages("rsurv")

You can install the development version of rsurv like so:

# install.packages("devtools")devtools::install_github("fndemarqui/rsurv")

About

Random Generation of Survival Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp