Extract the variable names for a model from a BAS prediction object
Source:R/predict.R
variable.names.pred.bas.Rd
S3 method for class 'pred.bas'. Simple utility
function to extract the variable names. Used to print names
for the selected models using estimators for 'HPM', 'MPM' or 'BPM".
for the selected model created by predict
for BAS
objects.
Value
a character vector with the names of the variables included in the selected model; in the case of 'BMA' this will be all variables
See also
Other predict methods:
fitted.bas()
,
predict.bas()
,
predict.basglm()
Other bas methods:
BAS
,
bas.lm()
,
coef.bas()
,
confint.coef.bas()
,
confint.pred.bas()
,
diagnostics()
,
fitted.bas()
,
force.heredity.bas()
,
image.bas()
,
plot.confint.bas()
,
predict.bas()
,
predict.basglm()
,
summary.bas()
,
update.bas()