R/make_results.R
make_results.RdMakes a result list object with all simulation results included.
make_results(direction, n, alpha, rho, p, models, data, sim)
| direction | character vector with one of "backward", "forward", or "both". |
|---|---|
| n | sample size |
| alpha | threshold value |
| rho | correlations between real predictors |
| p | number of predictor variables to include |
| models | list of fitted models |
| data | list having the data used for training and testing the various model types. |
| sim | number of simulations |
The most complete form of the results of the simulation are provided by this object. It has a sublist of results for every simulated sample.