Learn R Programming

extras (version 0.7.3)

zeros: Zeros

Description

The number of zeros in an numeric object.

Usage

zeros(x, na_rm = FALSE)

Value

A non-negative integer.

Arguments

x

A numeric object of MCMC values.

na_rm

A flag specifying whether to remove missing values.

See Also

Other summary: kurtosis(), lower(), pvalue(), pzeros(), skewness(), svalue(), upper(), variance(), xtr_mean(), xtr_median(), xtr_sd(), zscore()

Examples

Run this code
zeros(c(0:2))

Run the code above in your browser using DataLab