NZ {DescTools} | R 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)
[Package DescTools version 0.99.55 Index]