Learn R Programming

tilingArray (version 1.50.0)

posMin: Find the smallest positive number in a vector

Description

Find the smallest positive number in a vector

Usage

posMin(x, ...)

Arguments

x
Numeric vector.
...
Further arguments that get passed on to min.

Value

Details

This is a rather trivial convenience function.

Examples

Run this code
  x = runif(5)
  posMin(x-0.5)
  posMin(x-2)

Run the code above in your browser using DataLab