minnz: Non-zero minimum

Description Usage Arguments Details Value Author(s)

View source: R/minnz.R

Description

Helper function to calculate the smallest value of the vector except for 0 (non-zero minimum).

Usage

1
minnz(V)

Arguments

V

A vector

Details

This is a helper function to calculate the non-zero minimum of a vector. The result is the smallest value of the vector, but cannot be zero.

Value

The function returns the non-zero minimum

Author(s)

Didier Ruedin


agrmt documentation built on July 18, 2021, 1:06 a.m.