Get Reference Models
Get reference model structure from brmsfit objects for use in
varsel and related variable selection methods.
This method is called automatically when performing variable selection via
varsel.brmsfit and so you will rarely need to call it manually
yourself.
## S3 method for class 'brmsfit' get_refmodel(object, newdata = NULL, resp = NULL, folds = NULL, ...)
object |
An object of class |
newdata |
An optional data.frame for which to evaluate predictions. If
|
resp |
Optional names of response variables. If specified, predictions are performed only for the specified response variables. |
folds |
Only used for k-fold variable selection. A vector of fold indices for each data point in data. |
... |
Further arguments currently ignored. |
A refmodel object to be used in
varsel and related variable selection
methods.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.