compare_vectors.numeric | R Documentation |
This is a modified version of the all.equal function which returns a vector rather than a message
## S3 method for class 'numeric'
compare_vectors(
target,
current,
tolerance = sqrt(.Machine$double.eps),
scale = NULL,
...
)
target |
the base vector |
current |
a vector to compare target to |
tolerance |
Level of tolerance for differences between two variables |
scale |
Scale that tolerance should be set on. If NULL assume absolute |
... |
Not used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.