read_output: Read STICS outputs (mod_s*)

Description Usage Arguments Details Value Note See Also Examples

View source: R/read_output.R

Description

Read STICS model outputs for sole or mixed crops.

Usage

1
read_output(dirpath = getwd(), mixed = NULL, name = NULL)

Arguments

dirpath

Directory path

mixed

(optional) Is the simulation on mixed species (boolean)

name

Plant name for the output. Especially usefull for mixed crops. If NULL, the function tries to read it using read_usm

Details

If mixed is not specified (or equal to NULL), the function try to read the number of species from the input files.

Value

A data.frame (sole crop) or a list of two data.frames (mixed crops) of the STICS outputs.

Note

The STICS outputs are controled from the var.mod file. set_out_var can be used to set the output variables.

See Also

read_param, set_param.

Examples

1
2
3
4
5
## Not run: 
library(sticRs)
Output= read_output()

## End(Not run)

VEZY/sticRs documentation built on Oct. 1, 2018, 1:06 p.m.