tolerance {matter} | R Documentation |
This is a generic function for getting or setting 'tolerance' for an object which tests floating point equality.
tolerance(object, ...) tolerance(object, ...) <- value
object |
An object with tolerance. |
... |
Additional arguments. |
value |
The value to set the tolerance. |
Kylie A. Bemis
x <- sparse_mat(diag(10), keys=rnorm(10)) tolerance(x) tolerance(x) <- c(absolute=0.1) x[]