Learn R Programming

mdsstat (version 0.3.2)

fNA: Min/Max With All NA's Allowed Min and Max functions that allows the vector x to be NA, where f is min or max

Description

Min/Max With All NA's Allowed Min and Max functions that allows the vector x to be NA, where f is min or max

Usage

fNA(x, f)

Arguments

x

Numeric input vector

f

Either min or max

Value

Numeric value corresponding to min or max, or NA