ciu.plot.3D: ciu.plot.3D

View source: R/ciu.R

ciu.plot.3DR Documentation

ciu.plot.3D

Description

Function for 3D plotting the effect of changing values of two inputs on one output.

Usage

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

Arguments

ciu

ciu object as created with ciu function (not to be confused with CIU object as created by ciu.new).

instance

Input values for the instance to explain. Should be a data.frame even though a vector or matrix might work too if input names and other needed metadata can be deduced from the dataset or other parameters given to ciu.new.

ind.inputs

Indices of input features to plot.

ind.output

Index of output to plot.

in.min.max.limits

data.frame or matrix with one row per output and two columns, where the first column indicates the minimal value and the second column the maximal value for that output. ONLY NEEDED HERE IF not given as parameter to ciu.new or if the limits are different for this specific instance than the default ones.

n.points

Number of x/y-axis points to use.

main

a main title for the plot, see also title.

xlab

a label for the x axis, defaults to a description of x.

ylab

a label for the y axis, defaults to a description of y.

zlab

Label to use for Z-axis. Default: NULL.

zlim

Limits to use for Z-axis. Default: NULL.

...

other graphical parameters (see par and section ‘Details’ below).

Value

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

Author(s)

Kary Främling


ciu documentation built on Dec. 1, 2022, 1:12 a.m.