plot_Nmix_resi: Produce some residual plots

View source: R/plot-Nmix-resi&map-Nmix-resi_AHM1_6-9-3_plotting.R

plot_Nmix_resiR Documentation

Produce some residual plots

Description

Function does diagnostic plots for one binomial N-mixture model fitted with all three mixture distributions currently available in package unmarked: Poisson, negative binomial and zero-inflated Poisson. For each, fitted values vs. observed data and residuals vs. fitted values are plotted.

Usage

plot_Nmix_resi(fmP, fmNB, fmZIP)

Arguments

fmP

Fitted model object for Poisson distribution.

fmNB

Fitted model object for negative binomial distribution.

fmZIP

Fitted model object for zero-inflated Poisson distribution.

Value

None, used for its plotting effect.

Note

This function appears in the text as plot.Nmix.resi; renamed here to avoid confusion with generic plot functions.

Author(s)

Marc Kéry & Andy Royle

References

Kéry, M. & Royle, J.A. (2016) Applied Hierarchical Modeling in Ecology AHM1 - 6.9.3.


AHMbook documentation built on Sept. 12, 2024, 6:37 a.m.