Description Usage Arguments Value
Get posterior samples from pbart object for newdata
1 2 | pbart_posterior(pbart_fit, newdata, mc.cores = 1,
return_posterior_mean = FALSE)
|
pbart_fit |
Object of class " |
newdata |
Data frame containing X variables for use in generating new predictions |
mc.cores |
Number of cores to use |
return_posterior_mean |
If TRUE returns the posterior mean for each
observation in |
Returns a tibble containing predicted values. Either a single posterior mean or the full set of posterior samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.