plotSensitivity: Performs a one-factor-at-a-time sensitivity analysis for the...

View source: R/plotSensitivityOAT.R

plotSensitivityR Documentation

Performs a one-factor-at-a-time sensitivity analysis for the posterior of a given bayesianSetup within the prior range.

Description

Performs a one-factor-at-a-time sensitivity analysis for the posterior of a given bayesianSetup within the prior range.

Usage

plotSensitivity(bayesianSetup, selection = NULL, equalScale = T)

Arguments

bayesianSetup

An object of class BayesianSetup

selection

indices of selected parameters

equalScale

if T, y axis of all plots will have the same scale

Note

This function can also be used for sensitivity analysis of an arbitrary output - just create a BayesianSetup with this output.

Author(s)

Florian Hartig

Examples


ll <- testDensityBanana
bayesianSetup <- createBayesianSetup(likelihood = ll, lower = rep(-10, 2), upper = rep(10, 2))

plotSensitivity(bayesianSetup)

BayesianTools documentation built on Feb. 16, 2023, 8:44 p.m.