NZ: Non Zero Elements

View source: R/DescTools.r

NZR Documentation

Non Zero Elements

Description

Return a vector with all zero elements removed.

Usage

NZ(x)

Arguments

x

numeric vector

Value

numerich vector

Author(s)

Andri Signorell <andri@signorell.net>

Examples

x <- c(1,2,0,3)
NZ(x)

AndriSignorell/DescTools documentation built on Dec. 1, 2024, 5:13 a.m.