Learn R Programming

cvasi (version 1.4.0)

set_bounds: Set boundaries of model parameters

Description

Modifies the boundaries of model parameters for one or more scenario or caliset objects.

Usage

set_bounds(x, bounds)

# S4 method for EffectScenario,list set_bounds(x, bounds)

# S4 method for CalibrationSet,list set_bounds(x, bounds)

# S4 method for list,list set_bounds(x, bounds)

Value

scenario or caliset with modified parameter boundaries

Arguments

x

vector of scenario or caliset objects

bounds

named list of numerical vectors, where the first level lists the parameters by name, and the second level lists the lower and upper boundary

Examples

Run this code
metsulfuron %>%
   set_bounds(list(k_phot_max = c(0, 30),
                   k_resp = c(0, 10)))

Run the code above in your browser using DataLab