Learn R Programming

Measurement Errors for R

The errors package provides support for measurement errors in R vectors, matrices and arrays: automatic uncertainty propagation and reporting.

Documentation

See the initial blog post. The package includes a vignette that is an up-to-date version of the following R Journal publication, which should be used for citations:

  • Iñaki Ucar, Edzer Pebesma and Arturo Azcorra (2018). "Measurement Errors in R." The R Journal, 10 (2), 549--557. DOI: 10.32614/RJ-2018-075

Installation

Install the release version from CRAN:

install.packages("errors")

The installation from GitHub requires the remotes package.

# install.packages("remotes")
remotes::install_github("r-quantities/errors")

Copy Link

Version

Install

install.packages('errors')

Monthly Downloads

554

Version

0.4.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

July 29th, 2024

Functions in errors (0.4.2)

groupGeneric.errors

S3 Group Generic Functions
format.errors

Encode errors
geom_errors

Errorbars for errors objects
errors-package

errors: Uncertainty Propagation for R Vectors
rep.errors

Replicate Elements of Vectors and Lists
print.errors

Print Values
errors

Handle Uncertainty on a Numeric Vector
mean.errors

Arithmetic Mean and Median Value
plot.errors

Scatterplot with Error Bars
t.errors

Matrix Transpose
as.list.errors

Coerce to a List
cbind.errors

Combine R Objects by Rows or Columns
Extract.errors

Extract or Replace Parts of an Object
as.matrix.errors

Coerce to a Matrix
drop_errors

Drop Uncertainty
c.errors

Combine Values into a Vector or List
datasets

Datasets from the Guide to the Expression of Uncertainty in Measurement (GUM)
diff.errors

Lagged Differences
correl

Handle Correlations Between errors Objects
as.data.frame.errors

Coerce to a Data Frame