View source: R/data_generate.R
Generate simulate data.
1 | data_generate(fun.list, n, p, B.true, snr, cor = 0)
|
fun.list |
A list of linear and nonlinear function for link function. |
n |
The number of sample in the generated data. |
p |
The number of predictors in the generated data. |
B.true |
The groundtruth of the coefficient matrix B. |
snr |
The Signal Noise Ratio of data generation. |
cor |
The corvariance of the generate data. Default value is 0. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.