fractional: 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.

Author
Bill Venables
Date of publication
2016-02-15 16:03:13
Maintainer
Bill Venables <bill.venables@gmail.com>
License
GPL (>= 2)
Version
0.1.3

View on CRAN

Man pages

fractional
Representation of a numeric vector in vulgar fractional form
Math.fractional
Method for the group generic function for the elementary...
numerators
Extract the parts of a fractional object
numerical
Convert a fractional object to the equivalent numeric object
Ops.fractional
Method for the group generic function for the arithmetic...
ratr
Calculate Rational Approximation Using Continued Fraction...
unfractional
Demote a fractional object back to a numeric one
vfractional
Vectorized form for fractional

Files in this package

fractional
fractional/inst
fractional/inst/doc
fractional/inst/doc/Vulgar_Fractions_in_R.html
fractional/inst/doc/Theory.R
fractional/inst/doc/Theory.Rmd
fractional/inst/doc/Vulgar_Fractions_in_R.R
fractional/inst/doc/Theory.html
fractional/inst/doc/Vulgar_Fractions_in_R.Rmd
fractional/src
fractional/src/fractional.cpp
fractional/src/RcppExports.cpp
fractional/NAMESPACE
fractional/R
fractional/R/fractionl.R
fractional/R/vfractional.R
fractional/R/RcppExports.R
fractional/vignettes
fractional/vignettes/refs.bib
fractional/vignettes/fractional_style.css
fractional/vignettes/Theory.Rmd
fractional/vignettes/Vulgar_Fractions_in_R.Rmd
fractional/MD5
fractional/build
fractional/build/vignette.rds
fractional/DESCRIPTION
fractional/man
fractional/man/Math.fractional.Rd
fractional/man/ratr.Rd
fractional/man/numerical.Rd
fractional/man/fractional.Rd
fractional/man/unfractional.Rd
fractional/man/vfractional.Rd
fractional/man/numerators.Rd
fractional/man/Ops.fractional.Rd