Description Usage Arguments Value Examples
View source: R/MetGen_functions.R
Extraction of a variable of interest for each site separetly
1 | formating.var(var.mat, var.name, nstat)
|
var.mat |
data frame containing chron variable, geographical information and different climatic variables for each time step and for each site |
var.name |
character object that forms the name of the climatic variable to be picked up from the data frame according to sites |
nstat |
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
1 2 | nstat <- 3
temp_mat <- formating.var(myclimatic_data,"temp", nstat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.