Learn R Programming

FADA (version 1.3.5)

data.test: Test dataset simulated with the same distribution as the training dataset data.train.

Description

The test dataset has the same list structure as the training dataset dta. Only the numbers of rows of the x component and length of the y component are different since the test sample size is 1000.

Usage

data(data.test)

Arguments

Format

List with 2 components: x, the 1000x250 matrix of simulated explanatory variables and y, the 1000x1 grouping variable (coded 1 and 2).

Examples

Run this code
# NOT RUN {
data(data.test)
dim(data.test$x) # 1000 250
data.test$y # 2 levels
# }

Run the code above in your browser using DataLab