Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

coef.polynom

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

Polynomials in R

v2.0-3
GPL-2
Authors
Bill Venables, with contribution by Kurt Hornik and Georgi Boshnakov
Initial release
2020-02-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.