Other packages > Find by keyword >

fpCompare  

Reliable Comparison of Floating Point Numbers
View on CRAN: Click here


Download and install fpCompare package within the R console
Install from CRAN:
install.packages("fpCompare")

Install from Github:
library("remotes")
install_github("cran/fpCompare")

Install by package version:
library("remotes")
install_version("fpCompare", "0.2.6")



Attach the package and use:
library("fpCompare")
Maintained by
Alex M Chubaty
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2015-04-03
Latest Update: 2022-08-15
Description:
Comparisons of floating point numbers are problematic due to errors associated with the binary representation of decimal numbers. Despite being aware of these problems, people still use numerical methods that fail to account for these and other rounding errors (this pitfall is the first to be highlighted in Circle 1 of Burns (2012) 'The R Inferno' ). This package provides new relational operators useful for performing floating point number comparisons with a set tolerance.
How to cite:
Alex M Chubaty (2015). fpCompare: Reliable Comparison of Floating Point Numbers. R package version 0.2.6, https://cran.r-project.org/web/packages/fpCompare. Accessed 27 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:39), 0.1.0 (2015-04-03 23:11), 0.2.0 (2015-05-16 09:44), 0.2.1 (2015-09-01 21:03), 0.2.2 (2018-06-12 12:33), 0.2.3 (2019-09-10 09:00), 0.2.4 (2022-08-15 09:30)
Other packages that cited fpCompare R package
View fpCompare citation profile
Other R packages that fpCompare depends, imports, suggests or enhances
Complete documentation for fpCompare
Functions, R codes and Examples using the fpCompare R package
Some associated functions: relational-operators . 
Some associated R codes: fpCompare.R . zzz.R .  Full fpCompare package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

exams2learnr  
Interface for 'exams' Exercises in 'learnr' Tutorials
Automatic generation of quizzes or individual questions for 'learnr' tutorials based on 'R/exams' ex ...
Download / Learn more Package Citations See dependency  
SGB  
Simplicial Generalized Beta Regression
Main properties and regression procedures using a generalization of the Dirichlet distribution calle ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
usemodels  
Boilerplate Code for 'Tidymodels' Analyses
Code snippets to fit models using the tidymodels framework can be easily created for a given data se ...
Download / Learn more Package Citations See dependency  
spanish  
Translate Quantities from Strings to Integer and Back. Misc Functions on Spanish Data
Character vector to numerical translation in Euros from Spanish spelled monetary quantities. Reverse ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA