This function calculates the functional depths.
Arguments
- data
A matrix where each row is an observation of a time series. Row names should be a unique ID.
- times
A vector of length equal to the number of columns as data specifying the time points recorded at.
Value
A numeric vector of depths.