Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.1%) to scientific vocabulary
Repository
Objectes to simulate survival times
Basic Info
- Host: GitHub
- Owner: johnaponte
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://johnaponte.github.io/survobj/
- Size: 16.5 MB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
- Releases: 3
Metadata Files
README.md
Introduction to the survobj Package
by John Aponte
Introduction
This package defines a set of classes that encapsulate survival distributions
The objects of the class SURVIVAL encapsulate distributions of survival times. Each class has its own set of parameters but once the SURVIVAL object is defined, they have access to the same functions to calculate:
survival time function:
sfx(),hazard time function:
hfx(),cumulative hazard function:
Cum_Hfx()the inverse of the cumulative hazard function:
invCum_Hfx().generate random survival times:
rsurv()generate random survival times under proportional hazard ratio:
rsurvhr().generate random survival times under accelerated failure :
rsuvrvaft()generate random survival times under accelerate hazard:
rsurvah()
There are several functions to plot the distributions
generic S3:
plot.SURVIVAL()plot_survival(): to plot the functionsggplot_survival_random(): to ggplot random draws from the distributionggplot_survival_hr(): to ggplot random draws from the distribution using hazard ratioggplot_survival_aft(): to ggplot random draws from the distribution using accelerated time failureggplot_survival_ah(): to ggplot random draws from the distribution using accelerated hazardcompare_survival(): to graphically compare the functions of two SURVIVAL objects
Distributions
The current factories are implemented:
s_exponential(): for Exponential distributionss_weibull(): for Weibull distributionss_gompertz(): for Gompertz distributionss_piecewise(): for Piecewise exponential distributionss_loglogistic(): for Log Logistic distributionss_lognormal(): for Log Normal distributions
See the vignettes for examples on the use on simulation of survival data.
Installation
To install the development version of this package from github use:
devtools::install_github("johnaponte/survobj", build_manual = T, build_vignettes = T)
For more information:
https://johnaponte.github.io/survobj/

Owner
- Login: johnaponte
- Kind: user
- Repositories: 11
- Profile: https://github.com/johnaponte
GitHub Events
Total
Last Year
Packages
- Total packages: 1
-
Total downloads:
- cran 211 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 5
- Total maintainers: 1
cran.r-project.org: survobj
Objects to Simulate Survival Times
- Homepage: https://johnaponte.github.io/survobj/
- Documentation: http://cran.r-project.org/web/packages/survobj/survobj.pdf
- License: GPL (≥ 3)
-
Latest release: 3.1.1
published almost 2 years ago