eval_output | R Documentation |
Compare STICS simulation outputs to observations for sole or mixed crops.
eval_output(dirpath = getwd(), obs_name = NULL, mixed = NULL, verbose = FALSE)
dirpath |
Directory path |
obs_name |
A vector of observation file name(s). It must have the form
|
mixed |
(optional) Is the simulation made on mixed species (boolean) |
verbose |
Is informations during execution needed? |
For mixed crops, the obs_name
argument should have the principal plant
observations first in the character vector, and then the associated plant.
If obs_name
is not provided, the function try to guess it using the
built-in algorithm from read_obs()
. Idem for the mixed
argument. See documentation for more details.
A data.frame (sole crop) or a list of two data.frames (mixed crops) with
simulated and observed data. Simulated and measured data have the _sim
and _meas
suffix respectively.
read_output()
and read_obs()
## Not run:
library(sticRs)
Table_compare= eval_output()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.