diff_vecs | R Documentation |
Computes the sum of absolute differences in the finite non-NA
/NULL
elements between two vectors.
diff_vecs(l1, l2, relative = FALSE)
l1 |
A vector. |
l2 |
A vector. |
relative |
A boolean, default to |
The sum of (relative) absolute differences in l1
and l2
, or a positive integer if two vectors differ in length or hold NA
, NULL
or Inf
values in different places.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.