SQ_wrapper: SiruisQuality wrapper for CroptimizR

View source: R/SQ_wrapper.R

SQ_wrapperR Documentation

SiruisQuality wrapper for CroptimizR

Description

This function runs SiruisQuality on a set of situations (i.e. environments) using the values of the parameters defined in the param_values argument. It returns the values of the simulated outputs.

Usage

SQ_wrapper(
  param_values = NULL,
  sit_names = NULL,
  sit_var_dates_mask = NULL,
  model_options,
  ...
)

Arguments

param_values

(optional) a named vector that contains the value(s) and name(s) of the parameters to force for each situation to simulate. If not provided (or if is NULL), the simulations will be performed using default values of the parameters (e.g. as read in the model input files).

sit_names

Vector of situations names for which results must be returned

sit_var_dates_mask

mask to filter situations

model_options

options for the model wrapper

...

other options

Value

A list containing: sim_list: a named list (names = situations names) of data.frames (or tibbles) of error: an error code indicating if at least one simulation ended with an error.


aafaf-arharas/SQoptimizR documentation built on March 25, 2022, 12:18 a.m.