The proportion of zeros in an numeric object.
Arguments
- x
A numeric object of MCMC values.
- na_rm
A flag specifying whether to remove missing values.
Value
A number between 0 and 1.
See also
Other summary:
kurtosis()
,
lower()
,
pvalue()
,
skewness()
,
svalue()
,
upper()
,
variance()
,
xtr_mean()
,
xtr_median()
,
xtr_sd()
,
zeros()
,
zscore()
Examples
pzeros(c(0:2))
#> [1] 0.3333333