Description Usage Arguments Value Author(s) Examples
sim.dat.1
simulates a dataset with two covariates to reproduce Pepe Figure 1.
skin.orange
simulates a skin of orange dataset as in Hastie et al.
1 |
n |
sample size |
seed |
seed for random number generator |
add.outliers |
boolean. If TRUE, 10% of data are replaced by a contaminating distribution |
std.dev |
standard deviation in data generating process |
A data frame with n rows, and 4 columns: y, x1, x2, and eta, where eta is the linear combination X*beta.
Shuxin Yin
Youyi Fong youyifong@gmail.com
Krisztian Sebestyen
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.