minnz {agrmt}R Documentation

Non-zero minimum

Description

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

Usage

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


[Package agrmt version 1.42.12 Index]