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

Touchardness Plot: diagnostic distribution plot for the Touchard model.

1 2 3 |

`x` |
either a vector of counts or a 1-way table of frequencies of counts. |

`freq` |
unnecessary (and ignored) if |

`plot` |
logical. Should the plot be displayed? |

`conf.level` |
numeric in (0,1). Confidence level for confidence intervals. |

`main` |
character. Title for the plot. |

`xlab` |
character. Label for the x axis. |

`ylab` |
character. Label for the y axis. |

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

Plots the number of occurrences (counts) against the
count metameter of the Touchard distribution.
Circles are the observed count metameters and
the filled points show the confidence interval (dashed lines) centers.
Estimate of *λ* based on the fitted line
is shown on top margin along with the MLE (`toufit`

).
If the Touchard model fits the data well, the plot should show a straight line
and the two estimates of *λ* should be close.

Returns invisibly a data frame containing the counts (`y`

),
frequencies (`freq`

), count metameter (`metameter`

), the
CI center (`CIcenter`

) and the CI margin (`CImargin`

).

Bernardo Andrade and Sandro Oliveira

D. C. Hoaglin, F. Mosteller & J. W. Tukey (eds.),
*Exploring Data Tables, Trends and Shapes*, chapter 9.
John Wiley & Sons, New York.

M. Friendly & D. Meyer (2015),
*Discrete Data Analysis with R*. Chapman and Hall.

1 2 3 |

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.