Learn R Programming

MonoPoly (version 0.2-8)

coef.monpol: Extract Model Coefficients

Description

coef method for monpol objects.

Usage

## S3 method for class 'monpol':
coef(object, scale = c("original", "fitted"), type = c("beta", "monpar"), ...)

Arguments

object
A monpol object.
scale
Extract coefficients on the original scale of the data or on the scale used during fitting.
type
Extract coefficients in the beta parameterisation of the polynomial or for the monotone parameterisation used in the algorithm.
...
Additional optionals arguments. At present no optional arguments are used.

Value

  • Coefficients extracted from the model object object.

Details

This is the coef method for objects inheriting from class "monpol".