powered by
Extract polynomial coefficients
# S3 method for polynom coef(object, ...)# S3 method for polylist coef(object, ...)
# S3 method for polylist coef(object, ...)
A numeric vector of coefficients
A polynomial object or list thereof
Ignored
p <- polynomial(1:3)*polynomial(5:1) coef(p)
Run the code above in your browser using DataLab