powered by
Simulate data
dataSimulate(flag = 1, nCol = 20, nRow = 1000)
1 (default): team optimization; 2: non-linear; 3: linear.
the number of columns in the data set. must >= 2.
the number of rows in the data set.
predictor variable matrix and target variable
# NOT RUN { res <- dataSimulate(flag=1) X <- res$X; target <- res$target # }
Run the code above in your browser using DataLab