Description Usage Arguments Details Value See Also Examples
Group method for functions in the Math group.
1 2 |
x |
an object of class |
... |
further arguments to be passed to or from methods, such
as |
Most math group functions are disallowed with polynomial arguments.
The only exceptions are ceiling
, floor
,
round
, trunc
, and signif
which may be used to transform the coefficients accordingly.
A polynomial with transformed coefficients.
Ops.polynomial
,
Summary.polynomial
.
1 2 3 4 5 6 | op <- options(digits=18)
p <- poly.from.values(1:4, (2:5)^2)
## 1 + 2.00000000000001*x + x^2
p <- round(p)
## 1 + 2*x + x^2
options(op)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.