Print number as reduced fraction in R -
on old beat-up ti-83 can reduced fraction representation of rational real number following syntax.
.14>frac 7/50
is there similar syntax, function, or cran package allow me in r?
fractions() in mass package that:
> library(mass) > fractions(.14) [1] 7/50
Comments
Post a Comment