plot.sensitivity: Sensitivity plot

Description Usage Arguments Value

View source: R/plots.R

Description

Plot univariate response of model output to a trait parameter.

Usage

1
2
3
4
5
  plot.sensitivity(sa.sample, sa.spline, trait,
    y.range = c(0, 50), median.i = 4,
    prior.sa.sample = NULL, prior.sa.spline = NULL,
    fontsize = list(title = 24, axis = 18), linesize = 1,
    dotsize = 2)

Arguments

sa.sample

trait quantiles used in sensitivity analysis

sa.spline

spline function estimated from sensitivity analysis

trait

trait name for title

y.range
median.i

index of median value in sa.sample; median.i == which(as.numeric(rownames(sa.sample)) == 50)

prior.sa.sample

similar to sa.sample, but for prior distribution. If given, plots sensitivity for prior run

prior.sa.spline

similar to sa.spline, but for prior trait distribution.

fontsize

(optional) list with three arguments that can be set to vary the fontsize of the title, axis labels, and axis title in the sensitivity plots

Value

object of class ggplot


dlebauer/pecan-priors documentation built on Sept. 26, 2019, 5:03 a.m.