read_output: Read STICS outputs (mod_s*)

View source: R/read_output.R

read_outputR Documentation

Read STICS outputs (mod_s*)

Description

Read STICS model outputs for sole or mixed crops.

Usage

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

## Not run: 
library(sticRs)
Output= read_output()

## End(Not run)


VEZY/sticRs documentation built on Oct. 26, 2023, 7:37 a.m.