check_model: Check a model

View source: R/check_model.R

check_modelR Documentation

Check a model

Description

Perform a posterior predictive check of the number of sites where the parasite and host co-occur

Usage

check_model(model_fit, data_list, just_pvals = TRUE)

Arguments

model_fit

list. Output from fit_model

data_list

list. Output from make_data_list

just_pvals

logical. Should the output only include p-values, or should the function additionally return the predictions and observations?

Value

if just_pvals, then a vector of p-values. Otherwise, a list.


philpatton/cowbird documentation built on March 2, 2023, 3:05 a.m.