scenario_pbox {pbox} | R Documentation |
Scenario Analysis
Description
Performs scenario analysis by modifying underlying parameters of a pbox object. Query the probabilistic space under different scenarios with different combinations of parameters for a single query.
Usage
scenario_pbox(
pbx,
param_list = "list",
sigma = 0.05,
range = seq(-3, 3, 1),
...
)
## S4 method for signature 'pbox'
scenario_pbox(
pbx,
param_list = "list",
sigma = 0.05,
range = seq(-3, 3, 1),
...
)
Arguments
pbx |
object of class pbox |
param_list |
List specifying which parameters to modify. |
sigma |
Standard deviation for parameter deviations, defaulting to 0.05. |
range |
Range of deviation multipliers, default is seq(-3, 3, 1). |
... |
Additional arguments passed to qpbox. |
Value
Named list of results from each scenario evaluation.
Examples
data("SEAex")
pbx <- set_pbox(SEAex)
scenario_pbox(pbx,mj = "Vietnam:31 & avgRegion:26", param_list = list(Vietnam="mu"))
[Package pbox version 0.1.8 Index]