powered by
Extraction of a variable of interest for each site separetly
formating.var(var.mat, var.name, nstat)
data frame containing chron variable, geographical information and different climatic variables for each time step and for each site
character object that forms the name of the climatic variable to be picked up from the data frame according to sites
numeric vector that contains the number of gauged sites included in the data frame
a new data frame is returned with time steps and temporal series of the variable of interest arranged in columns according to sites
# NOT RUN { nstat <- 3 temp_mat <- formating.var(myclimatic_data,"temp", nstat) # }
Run the code above in your browser using DataLab