Other packages > Find by keyword >

PreciseSums  

Accurate Floating Point Sums and Products
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("PreciseSums", "0.7")



Attach the package and use:
library("PreciseSums")
Maintained by
Matthew Fidler
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-11-14
Latest Update: 2023-04-22
Description:
Most of the time floating point arithmetic does approximately the right thing. When adding sums or having products of numbers that greatly differ in magnitude, the floating point arithmetic may be incorrect. This package implements the Kahan (1965) sum , Neumaier (1974) sum , pairwise-sum (adapted from 'NumPy', See Castaldo (2008) for a discussion of accuracy), and arbitrary precision sum (adapted from the fsum in 'Python' ; Shewchuk (1997) ). In addition, products are changed to long double precision for accuracy, or changed into a log-sum for accuracy.
How to cite:
Matthew Fidler (2017). PreciseSums: Accurate Floating Point Sums and Products. R package version 0.7, https://cran.r-project.org/web/packages/PreciseSums. Accessed 05 Jan. 2025.
Previous versions and publish date:
0.1 (2017-11-14 16:48), 0.3 (2018-04-12 19:03), 0.4 (2020-07-10 12:40), 0.5 (2022-04-22 10:50), 0.6 (2023-04-22 02:52)
Other packages that cited PreciseSums R package
View PreciseSums citation profile
Other R packages that PreciseSums depends, imports, suggests or enhances
Complete documentation for PreciseSums
Functions, R codes and Examples using the PreciseSums R package
Some associated functions: fsum . kahanSum . neumaierSum . pairwiseSum . psProd . psSetProd . psSetSum . psSum . 
Some associated R codes: sums.R .  Full PreciseSums package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

bama  
High Dimensional Bayesian Mediation Analysis
Perform mediation analysis in the presence of high-dimensional mediators based on the potential out ...
Download / Learn more Package Citations See dependency  
uclust  
Clustering and Classification Inference with U-Statistics
Clustering and classification inference for high dimension low sample size (HDLSS) data with U-stati ...
Download / Learn more Package Citations See dependency  
interplot  
Plot the Effects of Variables in Interaction Terms
Plots the conditional coefficients ("marginal effects") of variables included in multiplicative int ...
Download / Learn more Package Citations See dependency  
Maintainer: Yue Hu (view profile)
GFisher  
Generalized Fisher's Combination Tests Under Dependence
Accurate and computationally efficient p-value calculation methods for a general family of Fisher ty ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
ENMeval  
Automated Tuning and Evaluations of Ecological Niche Models
Runs ecological niche models over all combinations of user-defined settings (i.e., tuning), performs ...
Download / Learn more Package Citations See dependency  

23,440

R Packages

202,297

Dependencies

63,567

Author Associations

23,434

Publication Badges

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