quantities
Quantity Calculus for R Vectors
The glue package that makes R carry units and uncertainty through the same calculation.
◆Recent moves
- 1y ago
Fixes covariance and correlation implementations
Fixes the covar and correl implementations added in 0.2.0. A correctness patch on the newest part of the package's surface.
View source ↗ - 2y ago
Faster data.frame methods
Performance improvements to the data.frame methods, plus ggplot2 test updates. Data frame operations are where the double wrapping of units and errors costs the most, so this is the right place to spend effort.
View source ↗ - 3y ago
Test fixes for an upstream units change
Fixes a couple of tests against an upstream units change. Typical of this package's release pattern, where much of the traffic is staying valid against its dependencies.
View source ↗ - 3y ago
Uncertainty becomes unit-aware; adds correlation support
Makes uncertainty unit-aware — errors() now returns a units object matching x, and uncertainty supplied in compatible units is converted automatically — and adds correlation and covariance support plus duplicated, anyDuplicated and unique methods. The release that completed the package's core promise.
View source ↗ - 5y ago
Compatibility fix for units 0.7-0
A compatibility fix for units 0.7-0. No user-facing change beyond continuing to work.
View source ↗ - 6y ago
Fixes uncertainty propagation for offset unit conversions
Restores dplyr 1.0.0 compatibility in coordination with units and errors, and fixes uncertainty propagation through conversions that combine scaling and offset, such as Celsius to Fahrenheit. The second fix is a genuine correctness bug in the package's core arithmetic.
View source ↗