coef.polynom | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.