posMin: Find the smallest positive number in a vector

Description Usage Arguments Details Value Author(s) Examples

View source: R/posMin.R

Description

Find the smallest positive number in a vector

Usage

1
posMin(x, ...)

Arguments

x

Numeric vector.

...

Further arguments that get passed on to min.

Details

This is a rather trivial convenience function.

Value

Numeric of length 1.

Author(s)

W. Huber <huber@ebi.ac.uk>

Examples

1
2
3
  x = runif(5)
  posMin(x-0.5)
  posMin(x-2)

tilingArray documentation built on Nov. 8, 2020, 10:59 p.m.