fractional v0.1.3


Monthly downloads



Vulgar Fractions in R

The main function of this package allows numerical vector objects to be displayed with their values in vulgar fractional form. This is convenient if patterns can then be more easily detected. In some cases replacing the components of a numeric vector by a rational approximation can also be expected to remove some component of round-off error. The main functions form a re-implementation of the functions 'fractions' and 'rational' of the MASS package, but using a radically improved programming strategy.

Functions in fractional

Name Description
numerators Extract the parts of a fractional object
Ops.fractional Method for the group generic function for the arithmetic operators
vfractional Vectorized form for fractional
fractional Representation of a numeric vector in vulgar fractional form
Math.fractional Method for the group generic function for the elementary mathematical functions
rat Calculate Rational Approximation Using Continued Fraction Methods
unfractional Demote a fractional object back to a numeric one
numerical Convert a fractional object to the equivalent numeric object
No Results!

Vignettes of fractional

No Results!

Last month downloads


Type Package
License GPL (>= 2)
LazyData TRUE
LinkingTo Rcpp
RoxygenNote 5.0.1
NeedsCompilation yes
VignetteBuilder knitr
Packaged 2016-02-13 06:51:58 UTC; bill
Repository CRAN
Date/Publication 2016-02-15 16:03:13

Include our badge in your README