Convert Decimals to Fractions

Provides functions for converting decimals to a matrix of numerators and denominators or a character vector of fractions. Supports mixed or improper fractions, finding common denominators for vectors of fractions, limiting denominators to powers of ten, and limiting denominators to a maximum value. Also includes helper functions for finding the least common multiple and greatest common divisor for a vector of integers. Implemented using C++ for maximum speed.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fracture")

0.1.2 by Alexander Rossell Hayes, 2 months ago


https://fracture.rossellhayes.com/, https://github.com/rossellhayes/fracture


Report a bug at https://github.com/rossellhayes/fracture/issues


Browse source code at https://github.com/cran/fracture


Authors: Alexander Rossell Hayes [aut, cre, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports Rcpp

Suggests covr, testthat, withr

Linking to Rcpp

System requirements: C++11


Imported by nombre.


See at CRAN