eval_output.Rd
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? |
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.
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.