get_ppc_plot | R Documentation |
pp_check for loo statistics
get_ppc_plot(fit, type, y, yrep, nsamples, draws = NULL, ...)
type |
One of |
y |
Response vector |
yrep |
S X N matrix of predicted responses |
nsamples |
Number of draws. Note that you may want to use all data for summary geoms.
e.g., |
draws |
(required for loo-type plots) Indices of draws to use. |
... |
Arguments passed to |
A ggplot2
object returned by tidybayes::ppc_*(y, yrep, ...)
.
A string
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.