powered by
Coerces a polynom object to a printable character representation.
polynom
# S3 method for polynom as.character(x, variable = "x", decreasing = FALSE, …)
A polynom object
Character string with the desired variable name.
Should the powers be decreasing, or increasing as in power series form?
Not presently used
A character string.
The character string may be parsed into an expression for the polynomial itself.
None
# NOT RUN { p <- poly.from.zeros(-2:4) as.character(p) # "48*x - 28*x^2 - 56*x^3 + 35*x^4 + 7*x^5 - 7*x^6 + x^7" # }
Run the code above in your browser using DataLab