View source: R/tidy-posterior-BART.R
fitted_draws.mbart | R Documentation |
mbart
modelGet fitted draws from posterior of mbart
model
## S3 method for class 'mbart'
fitted_draws(
model,
newdata,
value = ".value",
...,
n = NULL,
include_newdata = TRUE,
include_sigsqs = FALSE
)
model |
A model from |
newdata |
Data frame to generate fitted values from. If omitted, defaults to the data used to fit the model. |
value |
The name of the output column for |
... |
Not currently in use. |
n |
Not currently implemented. |
include_newdata |
Should the newdata be included in the tibble? |
include_sigsqs |
Should the posterior sigma-squared draw be included? |
A tidy data frame (tibble) with fitted values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.