Learn R Programming

serp (version 0.2.5)

coef.serp: Coefficients for a fitted serp object

Description

Returns the coefficients of a fitted object of class serp.

Usage

# S3 method for serp
coef(object, ...)

# S3 method for serp coefficients(object, ...)

Value

A vector of model coefficients.

Arguments

object

An object of class serp.

...

additional arguments.

See Also

serp, AIC.serp, BIC.serp, logLik.serp

Examples

Run this code
library(serp)
m <- serp(rating ~ temp + contact, slope = "parallel", link = "loglog",
          data = wine)
coef(m)

Run the code above in your browser using DataLab