Compute statistics for evaluation of the STICS outputs against observations. This function can be used for one USM or to compare outputs from different model versions or parameter values.
Either a folder path or the output from
A vector of observation file name(s). Optionnal, required only if
obs_name is not provided, the function tries to guess it using the built-in algorithm
read_obs. See respective documentation for more details.
A data.frame with statistics for each simulation. The data.frame has a
description attribute that gives the description of the column names
Because this function has the purpose to assess model quality, all statistics are computed on dates were observations are present only. So the simulation mean is only the mean on dates with observations, not the overall simulation mean.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
## Not run: library(sticRs) # Exemple 1: tests= stati_stics("dummy/path/simulation", obs_name = c("Wheat.obs","Pea.obs")) attr(tests,which = "description") # Exemple 2, stats for a comparison between simulations: stati_stics(Simulation_1,Simulation_2, obs_name = c("Wheat.obs","Pea.obs")) # Equivalent to: stati_stics("dummy/path/simulation_1","dummy/path/simulation_2", obs_name = c("Wheat.obs","Pea.obs")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.