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]
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 30 Apr. 2025.
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
03/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/28Downloads for simsurv1015202530354045TrendBars

Today's Hot Picks in Authors and Packages

eyetrackingR  
Eye-Tracking Data Analysis
Addresses tasks along the pipeline from raw data to analysis and visualization for eye-tracking dat ...
Download / Learn more Package Citations See dependency  
micEconAids  
Demand Analysis with the Almost Ideal Demand System (AIDS)
Functions and tools for analysing consumer demand with the Almost Ideal Demand System (AIDS) sugg ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
GRAPE  
Gene-Ranking Analysis of Pathway Expression
Gene-Ranking Analysis of Pathway Expression (GRAPE) is a tool for summarizing the consensus behavio ...
Download / Learn more Package Citations See dependency  
crimeutils  
A Comprehensive Set of Functions to Clean, Analyze, and Present Crime Data
A collection of functions that make it easier to understand crime (or other) data, and assist other ...
Download / Learn more Package Citations See dependency  
schrute  
The Entire Transcript from the Office in Tidy Format
The complete scripts from the American version of the Office television show in tibble format. Use ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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