max_rel_diff {wasim} | R Documentation |
Calculate the maximum ration of the derivatives of two time series
max_rel_diff(x, y)
x |
Modelled time series or array with dimension c(number_series, dim(y)) |
y |
Measured time series |
max(diff(x) / diff(y), na.rm=TRUE)
Dominik Reusser
data(models_dawson,package="wasim") max_rel_diff(models_dawson[,1],models_dawson[,2]) do.call(rbind,lapply(models_dawson, FUN =max_rel_diff, y=models_dawson[,1]))