Learn R Programming

CountsEPPM (version 3.1)

coef.CountsEPPM: Extraction of model coefficients for CountsEPPM Objects

Description

Extract the regression model coefficients from models of class "BinaryEPMM".

Usage

# S3 method for CountsEPPM
coef(object, prtpar = c("full", "mean", "scale.factor"), ...)

Value

Vector of coefficients of fitted regression model.

Arguments

object

fitted model object of class "CountsEPPM".

prtpar

character indicating coefficients of the fitted model to be output: all coefficients ("full"), coefficients of the model for probability of success ("mean"), coefficients of the model for scale-factor ("scale.factor")

...

some methods for this generic function require additional arguments.

Author

David M. Smith <dmccsmith@verizon.net>

Details

One of a set of standard extractor functions for fitted model objects of class "CountsEPPM.

See Also

betareg

Examples

Run this code
data(herons.group)
output.fn  <- CountsEPPM(number.attempts ~ 0 + group,
 herons.group, model.type = 'mean only', model.name = 'Poisson')
coef(output.fn, prtpar = "full")
coef(output.fn, prtpar = "mean")
coef(output.fn, prtpar = "scale.factor")

Run the code above in your browser using DataLab