diff_diff {wasim} | R Documentation |
diff_diff
counts the time steps for two time series during
which the first shows an increase and the second shows a decrease.
diff_diff(x, y)
x |
Modelled time series or array with dimension c(number_series, dim(y)) |
y |
Measured time series |
The count
Dominik Reusser
data(models_dawson,package="wasim") diff_diff(models_dawson[,1],models_dawson[,2]) do.call(rbind,lapply(models_dawson, FUN =diff_diff, y=models_dawson[,1]))