plotSensitivity: Sensitivity ggplot of a model

View source: R/spotPlot.R

plotSensitivityR Documentation

Sensitivity ggplot of a model

Description

Generates a sensitivity plot.

Usage

plotSensitivity(
  object,
  s = 100,
  xlab = paste("x", 1:ncol(object$x), sep = ""),
  ylab = "y",
  type = "best",
  agg.sample = 100,
  agg.fun = mean,
  ...
)

Arguments

object

the result list returned by spot, importantly including a modelFit, and the data x, y.

s

number of samples along each dimension.

xlab

a vector of characters, giving the labels for each of the two independent variables.

ylab

character, the value of the dependent variable predicted by the corresponding model.

type

string describing the type of the plot: "best" (default) shows sensitivity around optimum, "contour",

agg.sample

number of samples for aggregation type (type="agg").

agg.fun

function for aggregation (type="agg").

...

additional parameters (currently unused).

Value

ggplot2 visualization

See Also

plotFunction, plotData


SPOTMisc documentation built on Sept. 5, 2022, 5:06 p.m.