variable.names.pred.bas | R Documentation |
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.
## S3 method for class 'pred.bas'
variable.names(object, ...)
object |
a BAS object created by |
... |
other arguments to pass on |
a character vector with the names of the variables included in the selected model; in the case of 'BMA' this will be all variables
predict.bas
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()
data(Hald)
hald.gprior = bas.lm(Y~ ., data=Hald, prior="ZS-null", modelprior=uniform())
hald.bpm = predict(hald.gprior, newdata=Hald[1,],
se.fit=TRUE,
estimator="BPM")
variable.names(hald.bpm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.