R package for analysis of hydrological data