Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nnz

Non-zeros


Description

Number of non-zero elements in a vector

Usage

nnz(h)

Arguments

h

vector

Value

integer

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples

zip<-rnorm(15)
nnz(zip)

PEIP

Geophysical Inverse Theory and Optimization

v2.2-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre]
Initial release
2020-08-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.