read_output | R Documentation |
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 |
If mixed
is not specified (or equal to NULL
), the function try to
read the number of species from the input files.
A data.frame (sole crop) or a list of two data.frames (mixed crops) of the STICS outputs.
The STICS outputs are controled from the var.mod
file.
set_out_var()
can be used to set the output variables.
read_param()
, set_param()
.
## Not run:
library(sticRs)
Output= read_output()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.