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/ligrec_decoupler documentation built on Aug. 10, 2024, 8:56 a.m.