errors {quantities} | R Documentation |
Set or retrieve measurement uncertainty to/from numeric vectors (extensions
to the errors package for quantities
and units
objects).
## 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)
x |
a numeric object, or object of class |
value |
a numeric vector of length 1 or the same length as |