Learn R Programming

BinaryEPPM (version 3.0)

coef.BinaryEPPM: Extraction of model coefficients for BinaryEPPM Objects

Description

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

Usage

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

Value

Vector of coefficients of fitted regression model.

Arguments

object

fitted model object of class "BinaryEPPM".

prtpar

character indicating coefficients of the fitted model to be output: all coefficients ("full"), coefficients of the model for probability of success ("p"), 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 "BinaryEPPM.

See Also

betareg

Examples

Run this code
data("ropespores.case")
output.fn <- BinaryEPPM(data = ropespores.case,
                  number.spores / number.tested ~ 1 + offset(logdilution))   
coef(output.fn, prtpar = "full")
coef(output.fn, prtpar = "p")
coef(output.fn, prtpar = "scale.factor")

Run the code above in your browser using DataLab