rcens: Generate Sample Censoring

Provides functions to generate censored samples of type I, II and III, from any random sample generator. It also supplies the option to create left and right censorship. Along with this, the generation of samples with interval censoring is in the testing phase, with two options of fixed length intervals and random lengths. Additional functions generate complex inspection, delayed-entry, hybrid, progressive, covariate-dependent, frailty-dependent, and competing-risk observation structures while retaining a consistent and verifiable data object.

Version: 0.2.2
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, survival
Published: 2026-07-23
DOI: 10.32614/CRAN.package.rcens
Author: Daniel Saavedra ORCID iD [aut, cre, cph], Pedro L Ramos [aut]
Maintainer: Daniel Saavedra <dlsaavedra at uc.cl>
BugReports: https://github.com/dlsaavedra/rcens/issues
License: MIT + file LICENSE
URL: https://github.com/dlsaavedra/rcens
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: rcens results

Documentation:

Reference manual: rcens.html , rcens.pdf
Vignettes: Complex censoring with rcenscomp (source, R code)

Downloads:

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

Linking:

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