# NOT RUN {
## Loading the time series of hourly streamflows for the station Karamea at Gorge
data(KarameaAtGorgeQts)
x <- KarameaAtGorgeQts
# Plotting the hourly streamflow values
plot(x)
## sub-daily to Daily
d <- subdaily2daily(x, FUN=sum, na.rm=TRUE)
# Plotting the daily streamflow values
plot(d)
# }
Run the code above in your browser using DataLab