data.train {FADA} | R Documentation |
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.
data(data.train)
A list with 2 components. x
is a 30x250 matrix of simulated explanatory variables. y
is a 30x1 grouping variable (coded 1 and 2).
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,]))