Description
Utilities functions
Usage
ewise_mean(x, y, na.rm = FALSE, zero.substitute = FALSE)
Arguments
x, y
Numeric vectors of the same length.
na.rm
a logical evaluating to TRUE
or FALSE
indicating whether NA
values should be stripped before the
computation proceeds.
zero.substitute
Logical. If TRUE zero values are substituted with
corresponding non-missing values whether possible.