Converts a polynom class object to a character class object
Takes a polynom class object and returns a character class object looks like the print image of the polynom object.
pn2ch(x, symb = "x", digits = getOption("digits"), decreasing = FALSE, ...)x |
the given polynom class object |
symb |
the symbol of polynom |
digits |
the number of significant digits to be printed |
decreasing |
the desired order of the terms of the polynomial |
... |
additional arguments |
A technical subrutin to convert a polynom object to a character object.
A character class object.
p <- polynom::polynomial(0:12) pn2ch(p) p <- polynom::polynomial(12:0) pn2ch(p) # clean up # rm(p)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.