| CreateCalibOptions.GRiwrmInputsModel {airGRiwrm} | R Documentation | 
Creation of the CalibOptions object
Description
This function can be used either for a catchment (with an InputsModel object) or for a network (with a GRiwrmInputsModel object)
Usage
## S3 method for class 'GRiwrmInputsModel'
CreateCalibOptions(x, ...)
CreateCalibOptions(x, ...)
## S3 method for class 'InputsModel'
CreateCalibOptions(x, ...)
## S3 method for class 'character'
CreateCalibOptions(x, ...)
## S3 method for class ''function''
CreateCalibOptions(x, ...)
Arguments
| x | For a single catchment, it can be an object of class InputsModel or a function or a character corresponding to  | 
| ... | arguments passed to airGR::CreateCalibOptions, see details | 
Details
See airGR::CreateCalibOptions documentation for a complete list of arguments.
With a GRiwrmInputsModel object, all arguments are applied on each sub-catchments of the network.
Value
Depending on the class of InputsModel argument (respectively InputsModel and GRiwrmInputsModel object), the returned value is respectively:
- a - CalibOptionsobject (See airGR::CreateCalibOptions)
- a - GRiwrmCalibOptionsobject which is a list of- CalibOptionsobject with one item per modeled sub-catchment