year_min
and year_max
for the stations listed in station
Extracts the elements of a data frame corresponding to a period between year_min
and year_max
for the stations listed in station
extractyears(data, year_min = 1961, year_max = 1990,
station = c("T0001", "T0014", "T0129"))
a dataframe containing daily data.
start year
end year
character vector of the IDs of the station where the data are required
a matrix containing the requested daily data where each day corresponds to a row and each station corresponds to a column