minNA: min function discarding NA values

Description

Compute the minimum of a vector, discarding NA values.

Usage

1
minNA(x)

Arguments

x

vector

Value

Return the minimum of x

Author(s)

Romain Frelat, Bruno Gerard

See Also

minNA2,meanNA,maxNA,sdNA,maxNA2

Examples

1
2
a=c(15,35,NA)
minNA(a)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.