dataSimulate | R Documentation |
Simulate data
dataSimulate(flag = 1, nCol = 20, nRow = 1000)
flag |
1 (default): team optimization; 2: non-linear; 3: linear. |
nCol |
the number of columns in the data set. must >= 2. |
nRow |
the number of rows in the data set. |
predictor variable matrix and target variable
res <- dataSimulate(flag=1) X <- res$X; target <- res$target
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.