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

crossing_points(x)

## Arguments

x a univariate time series

A numeric value.

## Author

Earo Wang and Rob J Hyndman