Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.ciu.3D

Plot output value as a function of two inputs for a specific instance


Description

Plot how the value of one output changes as a function of two inputs using persp. The current input/output values are indicated by a red dot. The values of all other inputs are the ones given by the instance parameter. This method is not specific for CIU but it allows to study the behaviour of the underlying "black-box model". It also makes it easy to understand how CI and CU values have been calculated.

Arguments

instance

Instance to explain. See explain.

ind.inputs

Index of the inputs to plot

ind.output

Index of the output to plot

in.min.max.limits

See explain.

n.points

The number of points to use on X/Y-axis for plotting.

main, xlab, ylab, , zlab, zlim, ...

Usual plot parameters, possible to override the default ones provided here if needed.

Details

First get a CIU object by calling ciu.new as e.g. ciu <- ciu.new(...), then call ciu.res <- ciu$plot.ciu.3D(...). "Usage" section is here in "Details" section because Roxygen etc. don't support documentation of functions within functions. Usage

plot.ciu.3D(
  instance,
  ind.inputs,
  ind.output,
  in.min.max.limits=NULL,
  n.points=40,
  main=NULL,
  xlab=NULL,
  ylab=NULL,
  zlab=NULL,
  zlim=NULL,
  ...)

Value

"void", i.e. whatever happens to be result of last instruction.

Author(s)

Kary Främling


ciu

Contextual Importance and Utility

v0.1.0
MIT + file LICENSE
Authors
Kary Främling
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.