powered by
polynom
Calls the pn2ch converter, and prints the polynomial considering shift parameter and the width of the actual consol window.
pn2ch
shift
pprt(x, symb = "x", shift = 0, digits = getOption("digits"), decreasing = FALSE, ...)
the polynom object to be printed
the symbol used in the print
the beginnig shift
the width of the coefficients to be printed
indicator of the order of powers terms: decreasing or not
additional arguments
# NOT RUN { p <- polynom::polynomial(0:12) pprt(p) pprt(p,sh=3) pprt(p,sh=3,symb="L") # clean up # rm(p) # }
Run the code above in your browser using DataLab