utils: Utilities

utilsR Documentation

Utilities

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.

Value

Numeric vector.

Functions

  • ewise_mean: Element-wise mean calculation.


dispositionEffect documentation built on May 30, 2022, 9:05 a.m.