Description Usage Arguments Details Author(s)
View source: R/timeseriesOperations.R
Calculate the relative difference between two timeseries as 100
1 | timeseries.relative.difference(timeserie1, timeserie2)
|
timeserie1 |
timeserie as data.table with first column datetime and second column (average) value. Possible input is AWS_timeserie. |
timeserie2 |
timeserie as data.table with first column datetime and second column (average) value. Possible input is MAN_timeserie. |
the input should have certain column names and identical timeseries. If not, the function stops with an error that identifies the problem. #@example input; files <- grab.test.data(); AWS_timeserie <- files$Almelo_664_N_seasonal_precip[,c(1,3)]; Man_timeserie <- files$Enschede_665_N_seasonal_precip[,c(1,3)]; names(AWS_timeserie) <- names(Man_timeserie) <- c("time", "average")
Lotte and Jurian
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.