errors {quantities}R Documentation

Handle Measurement Uncertainty on a Numeric Vector

Description

Set or retrieve measurement uncertainty to/from numeric vectors (extensions to the errors package for quantities and units objects).

Usage

## S3 method for class 'quantities'
errors(x)

## S3 method for class 'units'
errors(x)

## S3 method for class 'mixed_units'
errors(x)

## S3 replacement method for class 'quantities'
errors(x) <- value

## S3 replacement method for class 'units'
errors(x) <- value

## S3 replacement method for class 'mixed_units'
errors(x) <- value

## S3 method for class 'quantities'
set_errors(x, value = 0)

## S3 method for class 'units'
set_errors(x, value = 0)

## S3 method for class 'mixed_units'
set_errors(x, value = 0)

## S3 method for class 'quantities'
errors_max(x)

## S3 method for class 'quantities'
errors_min(x)

Arguments

x

a numeric object, or object of class errors.

value

a numeric vector of length 1 or the same length as x.

See Also

errors.


[Package quantities version 0.1.3 Index]