View source: R/simulate-data.R
Wrapper for the used scenarios
1 2 3 4 5 6 7 8 | simulate_data(
n,
scenario = "0",
beta.cens = c(0, 0, 0),
cens.rate = 0.2,
link = "identity",
gamma.cens = 3
)
|
n |
Sample size |
scenario |
Character identifying the scenario |
beta.cens |
Coefficients for the censoring distribution |
link |
Link function |
gamma.cens |
Shape parameter of weibull for censoring |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.