OneWaySA | R Documentation |
This function displays a one-way sensitivity analysis (OWSA) graph by estimating a linear regression metamodel of a PSA for a given decision-analytic model
OneWaySA(strategies, y, x, parm, range = NULL, poly.order = 2,
txtsize = 12)
strategies |
String vector with the name of the strategies |
y |
Matrix with the model outputs |
x |
Matrix with the model inputs or parameters |
parm |
String with the name of the parameter of interest |
range |
Range of the parameter of interest. Default: NULL range. If range=NULL, the 2.5th and 9.75th percentile of the parameter of interest will be used as lower and upper bounds of the range, respectively. |
poly.order |
Order of polynomial for the linear regression metamodel. Default: 2 |
txtsize |
Font size for ggplot graph. Default: 12 |
owsa A 'ggplot' object with the OWSA graph of the 'parm' on the outcome of interest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.