Description Usage Arguments Details Author(s) References See Also Examples

Various types of standard diagnostic plots can be produced, involving various types of residuals, influence measures etc.

1 2 3 4 5 6 | ```
## S3 method for class 'CountsEPPM'
plot(x, which = 1:4, caption = c("Residuals vs indices of obs.", "Cook's distance plot",
"Leverage vs predicted values", "Residuals vs linear predictor",
"Normal Q-Q plot of residuals", "Predicted vs observed values"),
sub.caption = " ", main = "", ask = prod(par("mfcol"), 1) <
length(which) && dev.interactive(), ..., type = "spearson")
``` |

`x` |
fitted model object of class "CountsEPPM". |

`which` |
numeric. If a subset of plots is required, specify a subset of the numbers 1:6. |

`caption` |
character. Captions to appear above the plots. |

`sub.caption` |
character. Common title-above figures if there are multiple. |

`main` |
chaacter. Title to each plot in addition to the above caption. |

`ask` |
logical. If true, the user is asked before each plot. |

`...` |
other parameters to be passed through to plotting functions. |

`type` |
character indicating type of residual to be used, see residuals.CountsEPPM. |

The plot method for CountsEPPM objects produces various plots of diagnostic plots similar to those produced by betareg. See Ferrari and Cribari-Neto (2004) for further details of the displays of betareg.

David M. Smith <smithdm1@us.ibm.com>

Cribari-Neto F, Zeileis A. (2010). Beta Regression in R.
*Journal of Statistical Software*, **34**(2), 1-24. doi: 10.18637/jss.v034.i02.

1 2 3 4 5 6 7 8 | ```
## Not run:
data("herons.group")
output.fn <- CountsEPPM(number.attempts ~ 0 + group,
herons.group, model.type = 'mean only', model.name = 'Poisson')
cooks.distance(output.fn)
plot(output.fn, which = 1, type= "sdeviance")
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.