coef.polynom: Polynomial coefficients

View source: R/PolynomF.R

coef.polynomR Documentation

Polynomial coefficients

Description

Extract polynomial coefficients

Usage

## S3 method for class 'polynom'
coef(object, ...)

## S3 method for class 'polylist'
coef(object, ...)

Arguments

object

A polynomial object or list thereof

...

Ignored

Value

A numeric vector of coefficients

Examples

p <- polynomial(1:3)*polynomial(5:1)
coef(p)

PolynomF documentation built on May 2, 2022, 9:07 a.m.