mean0: Helper Function which returns the mean, unless there is a 0...

mean0R Documentation

Helper Function which returns the mean, unless there is a 0 value then it returns 0

Description

Helper Function which returns the mean, unless there is a 0 value then it returns 0

Usage

mean0(vec)

Arguments

vec

numeric vector

Value

the mean of the vector unless 0 is present, then returns 0


saezlab/liana documentation built on Nov. 8, 2023, 11:53 a.m.