utility_functions: Adaptations of common summary functions to return NA if all...

Description Usage Arguments Value Author(s)

Description

Adaptations of common summary statistical functions to return NA if all elements of x are NA. The prefix 'sp' could be thought of as 'special'. These are internal functions used by summaryStats.

Usage

1
2
3
4
5
6
7

Arguments

x

Numeric vector

Value

sp.min, sp.max, sp.sum operate just like min, max, and sum except they return NA if all elements of x are NA.

sp.count returns the number of non-missing values in the vector. However, if all values are missing, it returns NA.

Author(s)

Landon Sego


pnnl/qFeature documentation built on May 25, 2019, 10:22 a.m.