-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDESCRIPTION
48 lines (48 loc) · 1.97 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Package: simsurv
Type: Package
Title: Simulate Survival Data
Version: 1.0.0-9999
Date: 2021-01-09
Authors@R: c(person("Sam", "Brilleman", email = "sam.brilleman@gmail.com",
role = c("cre", "aut", "cph")),
person("Alessandro", "Gasparini", email = "ag475@leicester.ac.uk",
role = "ctb"))
Maintainer: Sam Brilleman <sam.brilleman@gmail.com>
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>).
License: GPL (>=3) | file LICENSE
Depends:
R (>= 3.3.0)
Imports:
methods,
stats
Suggests:
BB (>= 2014.10.1),
eha (>= 2.4.5),
flexsurv (>= 1.1.0),
knitr (>= 1.15.1),
MASS,
rmarkdown,
rstpm2 (>= 1.4.1),
survival (>= 2.40.1),
testthat (>= 1.0.2)
VignetteBuilder: knitr
LazyData: true
BugReports: https://github.com/sambrilleman/simsurv/issues
RoxygenNote: 7.1.1