Package: rsurv
Title: Random Generation of Survival Data
Version: 0.0.2
Date: 2024-10-24
Authors@R: 
    person(given = "Fabio",
           family = "Demarqui",
           role = c("aut", "cre", "cph"),
           email = "fndemarqui@est.ufmg.br",
           comment = c(ORCID = "0000-0001-9236-1986"))
Description: Random generation of survival data from a wide range of regression models, 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 out by its ability to generate survival data from an unlimited number of baseline distributions provided that an implementation of the quantile function of the chosen baseline distribution is available in R. Another nice feature of the package 'rsurv' lies in the fact that linear predictors are specified via a formula-based approach, facilitating the inclusion of categorical variables and interaction terms. The functions implemented in the package 'rsurv' can also be employed to simulate survival data with more complex structures, such as survival data with different types of censoring mechanisms, survival data with cure fraction, survival data with random effects (frailties), multivariate survival data, and competing risks survival data. Details about the R package 'rsurv' can be found in Demarqui (2024) <doi:10.48550/arXiv.2406.01750>.
License: GPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.3.2
Depends: R (>= 3.4.0)
Imports: bellreg (>= 0.0.2.2), dplyr, MASS, Rdpack, stabledist
RdMacros: Rdpack
Suggests: copula, flexsurv, frailtyEM, GGally, knitr, LambertW,
        rmarkdown, survival, survstan, testthat (>= 3.0.0)
VignetteBuilder: knitr
URL: https://github.com/fndemarqui/rsurv,
        https://fndemarqui.github.io/rsurv/
BugReports: https://github.com/fndemarqui/rsurv/issues
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2024-10-24 23:56:10 UTC; fndemarqui
Author: Fabio Demarqui [aut, cre, cph]
    (<https://orcid.org/0000-0001-9236-1986>)
Maintainer: Fabio Demarqui <fndemarqui@est.ufmg.br>
Repository: CRAN
Date/Publication: 2024-10-25 04:10:02 UTC
Built: R 4.6.0; ; 2026-04-26 21:18:02 UTC; unix
