View source: R/tidy-posterior-BART.R
residual_draws_BART | R Documentation |
Classes from BART
-package models
residual_draws_BART( object, response, newdata = NULL, value = ".residual", include_newdata = TRUE, include_sigsqs = FALSE )
object |
model from |
response |
Original response vector. |
newdata |
Data frame to generate predictions from. If omitted, original data used to fit the model. |
value |
Name of the output column for residual_draws; default is |
include_newdata |
Should the newdata be included in the tibble? |
include_sigsqs |
Should the posterior sigma-squared draw be included? |
Tibble with residuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.