coef.polynom {PolynomF} | R Documentation |
Extract polynomial coefficients
## S3 method for class 'polynom'
coef(object, ...)
## S3 method for class 'polylist'
coef(object, ...)
object |
A polynomial object or list thereof |
... |
Ignored |
A numeric vector of coefficients
p <- polynomial(1:3)*polynomial(5:1)
coef(p)