mbart
modelGet fitted draws from posterior of mbart
model
# S3 method for mbart
fitted_draws(
model,
newdata,
value = ".value",
...,
n = NULL,
include_newdata = TRUE,
include_sigsqs = FALSE
)
A tidy data frame (tibble) with fitted values.
A model from BART
package.
Data frame to generate fitted values from. If omitted, defaults to the data used to fit the model.
The name of the output column for fitted_draws
; default ".value"
.
Not currently in use.
Not currently implemented.
Should the newdata be included in the tibble?
Should the posterior sigma-squared draw be included?