plot_Nmix_resi {AHMbook} | R 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.

[Package

*AHMbook*version 0.2.9 Index]