Learn R Programming

COUNT (version 1.3.4)

myTable: Frequency table

Description

mytable is used to produce a table of frequencies, proportion and cumulative proportions for a count variable

Usage

myTable(x)

Value

x

count value

Freq

Frequency of count

Prop

Proportion

CumProp

Cumulative proportion

Arguments

x

the only argument is the name of the count variable

Author

Joseph M. Hilbe, Arizona State University, and Jet Propulsion Laboratory, California Institute of Technology

Details

myTable is used as either a diagnostic to view the distribution of a count variable, or as a frequency distribution display in its own right. myTable is given in Table 9.40 in Hilbe (2011).

References

Hilbe, J.M. (2011), Negative Binomial Regression, second edition, Cambridge University Press. Hilbe, J.M. (2009), Logistic Regression Models, Chapman Hall/CRC

See Also

modelfit

Examples

Run this code
data(medpar)
myTable(medpar$los)

Run the code above in your browser using DataLab