Other packages > Find by keyword >

simsurv  

Simulate Survival Data
View on CRAN: Click here


Download and install simsurv package within the R console
Install from CRAN:
install.packages("simsurv")

Install from Github:
library("remotes")
install_github("cran/simsurv")

Install by package version:
library("remotes")
install_version("simsurv", "1.0.0")



Attach the package and use:
library("simsurv")
Maintained by
Sam Brilleman
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-07-27
Latest Update: 2021-01-13
Description:
Simulate survival times from standard parametric survival distributions (exponential, Weibull, Gompertz), 2-component mixture distributions, or a user-defined hazard, log hazard, cumulative hazard, or log cumulative hazard function. Baseline covariates can be included under a proportional hazards assumption. Time dependent effects (i.e. non-proportional hazards) can be included by interacting covariates with linear time or a user-defined function of time. Clustered event times are also accommodated. The 2-component mixture distributions can allow for a variety of flexible baseline hazard functions reflecting those seen in practice. If the user wishes to provide a user-defined hazard or log hazard function then this is possible, and the resulting cumulative hazard function does not need to have a closed-form solution. For details see the supporting paper <doi:10.18637/jss.v097.i03>. Note that this package is modelled on the 'survsim' package available in the 'Stata' software (see Crowther and Lambert (2012) <https://www.stata-journal.com/sjpdf.html?articlenum=st0275> or Crowther and Lambert (2013) <doi:10.1002/sim.5823>).
How to cite:
Sam Brilleman (2017). simsurv: Simulate Survival Data. R package version 1.0.0, https://cran.r-project.org/web/packages/simsurv. Accessed 22 Dec. 2024.
Previous versions and publish date:
0.1.0 (2017-07-27 13:08), 0.2.0 (2018-03-06 05:19), 0.2.2 (2018-05-18 06:02), 0.2.3 (2019-02-01 08:10)
Other packages that cited simsurv R package
View simsurv citation profile
Other R packages that simsurv depends, imports, suggests or enhances
Complete documentation for simsurv
Functions, R codes and Examples using the simsurv R package
Some associated functions: brcancer . simsurv . 
Some associated R codes: brcancer.R . simsurv.R .  Full simsurv package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
Download / Learn more Package Citations See dependency  
composits  
Compositional, Multivariate and Univariate Time Series Outlier Ensemble
A compositional multivariate and univariate time series outlier ensemble.It uses the four R packages ...
Download / Learn more Package Citations See dependency  
LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
wordspace  
Distributional Semantic Models in R
An interactive laboratory for research on distributional semantic models ('DSM', see < ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA