plot_ppc: Plot result of posterior predictive check

Description Usage Arguments

View source: R/sigfit_plotting.R

Description

black = observed value is not extreme compared to the simulated distribution yellow = observed value is in top or bottom 2.5 red = observed value is outside ppc simulations

Usage

1
plot_ppc(c, c_ppc, sample = 1)

Arguments

c

Integer matrix of observed counts.

c_ppc

Simulated posterior predictive counts obtained from MCMC samples using extract(samples)$counts_ppc.


kgori/sigfit documentation built on Feb. 3, 2022, 12:04 p.m.