rel_diff {cppdoubles} | R Documentation |
Absolute and relative difference
Description
Calculate absolute differences with abs_diff()
and
relative differences with rel_diff()
Usage
rel_diff(x, y)
abs_diff(x, y)
Arguments
x |
A double vector. |
y |
A double vector. |
Value
A numeric vector.
[Package cppdoubles version 0.2.0 Index]