Computes the number of times a time series crosses the median.
n_crossing_points(x)
x
a univariate time series
A numeric value.
Earo Wang and Rob J Hyndman