Computes the number of times a time series crosses the median.

n_crossing_points(x)

Arguments

x

a univariate time series

Value

A numeric value.