map.Nmix.resi: Mapping of residuals

Description Usage Arguments Value Note Author(s) References

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

Description

Produces a map of the mean residuals from an N-mixture model fit by function pcount in unmarked. Used in AHM1 - 6.9.3 to produce maps of Switzerland with the residuals for each site.

Usage

1
map.Nmix.resi(fm, x, y)

Arguments

fm

the fitted model object

x

x coordinates of each site

y

y coordinates of each site

Value

None. Used for its plotting side effects.

Note

In previous versions, the defaults were x = tits$coordx and y = tits$coordy, but those defaults only worked if the data object tits was in the workspace. To run the code on page 263 of AHM1, you now need to specify the coordinates, eg, map.Nmix.resi(fm5, x = tits$coordx, y = tits$coordy).

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 Oct. 26, 2020, 9:07 a.m.