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.
map.Nmix.resi(fm, x, y)
the fitted model object
x coordinates of each site
y coordinates of each site
None. Used for its plotting side effects.
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).
Marc Kéry & Andy Royle
Kéry, M. & Royle, J.A. (2016) Applied Hierarchical Modeling in Ecology AHM1 - 6.9.3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.