OneWaySA: One-way sensitivity analysis using linear regression...

Description Usage Arguments Value

Description

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

Usage

1
2
OneWaySA(strategies, y, x, parm, range = NULL, poly.order = 2,
  txtsize = 12)

Arguments

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

Value

owsa A 'ggplot' object with the OWSA graph of the 'parm' on the outcome of interest


feralaes/dampack documentation built on May 16, 2019, 12:48 p.m.