fractions | R Documentation |
MASS::fractions()
functionFind rational approximations to the components of a real numeric object using a standard continued fraction method.
fractions(x, cycles = 10, max.denominator = 2000, ...)
x |
Any object of mode numeric. |
cycles |
The maximum number of steps to be used in the continued fraction approximation process. |
max.denominator |
An early termination criterion. |
... |
Arguments passed to or from other methods. |
This function and the documentation is taken directly from the MASS package (see https://rdrr.io/cran/MASS/src/R/fractions.R). It is defined locally in prettyGraphics
solely to reduce reliance on non-default packages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.