Description Usage Arguments Value Examples
Functions for evaluating distance between variables
1 2 3 4 5 |
x, y |
variables to be compared |
var |
variable code |
Difference or ratio of x
and y
(for dif
) and sum or product (for rev_dif
and rev_difv
). Distance is measured as difference for variables included in getOption('additive_variables')
, i.e. temperature (TAS
) by default, and as a ratio for other variables.
While rev_dif
returns sum(x, y)
or prod(x, y)
, rev_difv
takes single vector x
and returns sum(x)
or prod(x)
.
Used mainly in other functions of the package.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.