I have 18 years daily simulated and observed data and i can calculate the RMSE using this code;
sqrt( mean( (df$simulated-df$observed)^2 , na.rm = TRUE ) )
But i have to calculate RMSE on different time series whole time period, Yearly, monthly, weekly and on seasonal time scale. Moreover, i would like to perform correlation coefficient, variance, bias and mean and put all result in one file.
Any help will be appreciated.