Package: fractional 0.1.3

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.

Authors:Bill Venables

fractional_0.1.3.tar.gz
fractional_0.1.3.zip(r-4.7-x86_64)fractional_0.1.3.zip(r-4.7-arm64)fractional_0.1.3.zip(r-4.6-x86_64)fractional_0.1.3.zip(r-4.6-arm64)fractional_0.1.3.zip(r-4.5-x86_64)
fractional_0.1.3.tgz(r-4.6-x86_64)fractional_0.1.3.tgz(r-4.6-arm64)fractional_0.1.3.tgz(r-4.5-x86_64)fractional_0.1.3.tgz(r-4.5-arm64)
fractional_0.1.3.tar.gz(r-4.7-arm64)fractional_0.1.3.tar.gz(r-4.7-x86_64)fractional_0.1.3.tar.gz(r-4.6-arm64)fractional_0.1.3.tar.gz(r-4.6-x86_64)
fractional_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
fractional/json (API)

# Install 'fractional' in R:
install.packages('fractional', repos = c('https://billvenables.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

4.13 score 3 packages 34 scripts 2.2k downloads 9 exports 1 dependencies

Last updated from:3e8a1c0bc8. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK112
linux-devel-x86_64OK155
source / vignettesOK220
linux-release-arm64OK113
linux-release-x86_64OK128
macos-release-arm64OK110
macos-release-x86_64OK196
macos-oldrel-arm64OK109
macos-oldrel-x86_64OK200
windows-devel-arm64OK333
windows-devel-x86_64OK122
windows-release-arm64OK331
windows-release-x86_64OK90
windows-oldrel-x86_64OK87
wasm-releaseOK106

Exports:.ratrdenominatorsfractionalnumeratorsnumericalratratrunfractionalvfractional

Dependencies:Rcpp

Vulgar Fractions in R
Introduction | Caveat | Functions | fractional and unfractional | unfractional | Use of fractional objects in arithmetic operations. | as.character | numerators and denominators | numerical | rat, ratr and .ratr | vfractional | Some simple examples | Arithmetic operations | The Golden Ratio and Fibonacci numbers | Random fractions

Last update: 2016-02-15
Started: 2016-02-08

Some Theory behind fractional
Rational approximation by continued fractions | Real numbers into continued fractions | Some theoretical examples | Implementation in R | Some elementary properties | References

Last update: 2016-02-15
Started: 2016-02-08

Readme and manuals

Help Manual

Help pageTopics
Representation of a numeric vector in vulgar fractional formas.character.fractional fractional print.charFrac print.fractional
Method for the group generic function for the elementary mathematical functionsMath.fractional
Extract the parts of a fractional objectdenominators denominators.charFrac denominators.default denominators.fractional numerators numerators.charFrac numerators.default numerators.fractional
Convert a fractional object to the equivalent numeric objectnumerical numerical.charFrac numerical.default numerical.fractional
Method for the group generic function for the arithmetic operatorsOps.fractional
Calculate Rational Approximation Using Continued Fraction Methods.ratr rat ratr
Demote a fractional object back to a numeric oneunfractional
Vectorized form for fractionalvfractional