Description Usage Format Examples
Simulated training dataset. The x component is a matrix of explanatory variables, with 30 rows and 250 columns. Each row is simulated according to a multinormal distribution which mean depends on a group membership given by the y component. The variance matrix is the same within each group.
1 |
A list with 2 components. x
is a 30x250 matrix of simulated explanatory variables. y
is a 30x1 grouping variable (coded 1 and 2).
1 2 3 4 5 | data(data.train)
dim(data.train$x) # 30 250
data.train$y # 2 levels
hist(cor(data.train$x[data.train$y==1,])) # high dependence
hist(cor(data.train$x[data.train$y==2,]))
|
Loading required package: MASS
Loading required package: elasticnet
Loading required package: lars
Loaded lars 1.2
[1] 30 250
[1] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.