get_ppc_plot {mcp} | R Documentation |
pp_check for loo statistics
Description
pp_check for loo statistics
Usage
get_ppc_plot(fit, type, y, yrep, nsamples, draws = NULL, ...)
Arguments
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 |
Value
A ggplot2
object returned by tidybayes::ppc_*(y, yrep, ...)
.
A string
Author(s)
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
[Package mcp version 0.3.4 Index]