zero_proportion: Proportion of zeros

View source: R/thiyanga.R

zero_proportionR Documentation

Proportion of zeros

Description

Computes proportion of zeros in a time series

Usage

zero_proportion(x, tol = 1e-08)

Arguments

x

a univariate time series

tol

tolerance level. Absolute values below this are considered zeros.

Value

A numeric value.

Author(s)

Thiyanga Talagala


robjhyndman/tsfeatures documentation built on July 25, 2024, 3:47 a.m.