Description Usage Arguments Value
Simulation function This function is for simulating data
1 | simul(N = 1000, p = 500, p_true = 5, m1 = 100, knot = 10)
|
N |
sample size |
p |
number of parameters |
p_true |
number of true parameters |
m1 |
default is 100 |
knot |
the number of basis functions for non-linear predictors |
a list of the following values
*delta: event indicator *z: Covariate matrix *time: the death time *p: number of variables *N: the sample size *knot: the number of basis functions for non-linear predictors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.