View source: R/OptHoldoutSize_simulation.R
gen_preds | R Documentation |
Generate matrix of random observations. Observations are unit Gaussian-distributed.
gen_preds(nobs, npreds, ninters = 0)
nobs |
Number of observations (samples) |
npreds |
Number of predictors |
ninters |
Number of interaction terms, default 0. Up to npreds*(npreds-1)/2 |
Data frame of observations
# See examples for model_predict
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.