powered by
Predict response from new data
predict(object, ...)
(if summary==FALSE) array D x N x iter; (if summary==TRUE) tibble with calculated posterior summaries
An object of class pibblefit
Other objects to be passed to the `predict` function
sim <- pibble_sim() fit <- pibble(sim$Y, sim$X) predict(fit)[,,1:2] # just show 2 samples
Run the code above in your browser using DataLab