minNA: min function discarding NA values

Description Usage Arguments Value Author(s) See Also Examples

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)

ndvits documentation built on May 31, 2017, 2:06 a.m.

Search within the ndvits package
Search all R packages, documentation and source code