survobj: Simulate Parametric and Semi-Parametric Survival Times with Object-Oriented Design

Simulate parametric and semi-parametric survival times through a consistent, reusable interface for each distribution, using an object-oriented design. Supported distributions include Exponential, Weibull, Gompertz, Log-Logistic, Log-Normal, and Piecewise Exponential. Random variates can be generated under Proportional Hazards, Accelerated Failure Time, and Extended Hazards models, as well as under renewal and non-homogeneous Poisson recurrent event processes, following the methods described by Bender (2003) <doi:10.5282/UBM/EPUB.1716> and Leemis (1987) in Operations Research, 35(6), 892-894.

Version: 3.2.0
Depends: R (≥ 4.1.0)
Imports: dplyr, tidyr, ggplot2, survival
Suggests: knitr, rmarkdown, spelling, testthat (≥ 3.0.0)
Published: 2026-09-20
DOI: 10.32614/CRAN.package.survobj
Author: Aponte John ORCID iD [aut, cre, cph]
Maintainer: Aponte John <john.j.aponte at gmail.com>
BugReports: https://github.com/johnaponte/survobj/issues
License: GPL (≥ 3)
URL: https://johnaponte.github.io/survobj/, https://github.com/johnaponte/survobj
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: survobj results

Documentation:

Reference manual: survobj.html , survobj.pdf
Vignettes: Defining and using objects of class SURVIVAL (source, R code)
Simulation of survival times (source, R code)
Simulating trials with multiple events (source, R code)
Simulating trials with survival endpoints (source, R code)
Simulation trials: non-proportional hazard (source, R code)

Downloads:

Package source: survobj_3.2.0.tar.gz
Windows binaries: r-devel: survobj_3.1.1.zip, r-release: survobj_3.1.1.zip, r-oldrel: survobj_3.1.1.zip
macOS binaries: r-release (arm64): survobj_3.1.1.tgz, r-oldrel (arm64): survobj_3.1.1.tgz, r-release (x86_64): survobj_3.2.0.tgz, r-oldrel (x86_64): survobj_3.1.1.tgz
Old sources: survobj archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=survobj to link to this page.