gen_preds {OptHoldoutSize} | R Documentation |
Generate matrix of random observations
Description
Generate matrix of random observations. Observations are unit Gaussian-distributed.
Usage
gen_preds(nobs, npreds, ninters = 0)
Arguments
nobs |
Number of observations (samples) |
npreds |
Number of predictors |
ninters |
Number of interaction terms, default 0. Up to npreds*(npreds-1)/2 |
Value
Data frame of observations
Examples
# See examples for model_predict
[Package OptHoldoutSize version 0.1.0.0 Index]