View source: R/tidyposteriorbartMachine.R
residual_draws.bartMachine  R Documentation 
bartMachine
modelGet residual draw for bartMachine
model
## S3 method for class 'bartMachine' residual_draws( object, newdata, value = ".residual", ..., ndraws = NULL, include_newdata = TRUE, include_sigsqs = FALSE )
object 

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 
... 
Additional arguments passed to the underlying prediction method for the type of model given. 
ndraws 
Not currently implemented. 
include_newdata 
Should the newdata be included in the tibble? 
include_sigsqs 
Should the posterior sigmasquared draw be included? 
Tibble with residuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.