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)

DescTools documentation built on Sept. 26, 2024, 1:07 a.m.