read_output.Rd
Read STICS model outputs for sole or mixed crops.
read_output(dirpath = getwd(), mixed = NULL, name = NULL)
dirpath | Directory path |
---|---|
mixed | (optional) Is the simulation on mixed species (boolean) |
name | Plant name for the output. Especially usefull for mixed crops.
If |
A data.frame (sole crop) or a list of two data.frames (mixed crops) of the STICS outputs.
If mixed
is not specified (or equal to NULL
), the function try to
read the number of species from the input files.
The STICS outputs are controled from the var.mod
file.
set_out_var()
can be used to set the output variables.