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.5)fractional_0.1.3.zip(r-4.4)fractional_0.1.3.zip(r-4.3)
fractional_0.1.3.tgz(r-4.4-x86_64)fractional_0.1.3.tgz(r-4.4-arm64)fractional_0.1.3.tgz(r-4.3-x86_64)fractional_0.1.3.tgz(r-4.3-arm64)
fractional_0.1.3.tar.gz(r-4.5-noble)fractional_0.1.3.tar.gz(r-4.4-noble)
fractional_0.1.3.tgz(r-4.4-emscripten)fractional_0.1.3.tgz(r-4.3-emscripten)
fractional.pdf |fractional.html
fractional/json (API)

# Install 'fractional' in R:
install.packages('fractional', repos = c('https://billvenables.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

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

9 exports 1.24 score 1 dependencies 4 dependents 32 scripts 235 downloads

Last updated 9 years agofrom:3e8a1c0bc8. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 25 2024
R-4.5-win-x86_64OKAug 25 2024
R-4.5-linux-x86_64OKAug 25 2024
R-4.4-win-x86_64OKAug 25 2024
R-4.4-mac-x86_64OKAug 25 2024
R-4.4-mac-aarch64OKAug 25 2024
R-4.3-win-x86_64OKAug 25 2024
R-4.3-mac-x86_64OKAug 25 2024
R-4.3-mac-aarch64OKAug 25 2024

Exports:.ratrdenominatorsfractionalnumeratorsnumericalratratrunfractionalvfractional

Dependencies:Rcpp

Vulgar Fractions in R

Rendered fromVulgar_Fractions_in_R.Rmdusingknitr::rmarkdownon Aug 25 2024.

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

Some Theory behind fractional

Rendered fromTheory.Rmdusingknitr::rmarkdownon Aug 25 2024.

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