coef.polynom {PolynomF} | R 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)
[Package PolynomF version 2.0-8 Index]