pw_mean: Element-wise mean of two vectors a and b

Description Usage Arguments

View source: R/pw_mean.R

Description

Element-wise mean of two vectors a and b (https://stackoverflow.com/questions/13990125/sample-from-vector-of-varying-length-including-1)

Usage

1
pw_mean(a,b, na.rm = TRUE)

Arguments

a, b

two vectors

na.rm

logical indicating whether NA values should be ignored when computing means


vanderlindenma/lindenutils documentation built on Dec. 23, 2021, 2:10 p.m.