Learn R Programming

flacco (version 1.0)

plotBarrierTree3D: Plot Barrier Tree in 3D

Description

Creates a 3D surface plot containing the barrier tree of this cell mapping.

Usage

plotBarrierTree3D(feat.object, control)

Arguments

feat.object
[FeatureObject] A feature object as created by createFeatureObject.
control
[list] A list, which stores additional control arguments. For further information, see details.

Value

  • [plot]. A 3D-surface plot, visualizing the barrier tree of this cell mapping.

item

  • Plot Control
  • bt.color_surface
  • bt.color_branches
  • bt.persp_border
  • bt.persp_shade
  • bt.persp_{theta, phi}
  • bt.persp_{xlab, ylab, zlab}
  • bt.persp_ticktype
  • bt.col_root
  • bt.pch_root
  • bt.pch_breakpoint
  • bt.pch_basin
  • bt.lwd

itemize

  • bt.margin

code

2

Details

Possible control arguments are:
  • Computation of Cell Mapping
:
  • gcm.approach
: Which approach should be used when computing the representatives of a cell. The default is "min", i.e. the observation with the best (minimum) value within per cell. gcm.cf_power: Theoretically, we need to compute the canonical form to the power of infinity. However, we use this value as approximation of infinity. The default is 256.

Examples

Run this code
# create a feature object
X = createInitialDesign(n.obs = 900, dim = 2)
f = smoof::makeAckleyFunction(dimensions = 2)
y = apply(X, 1, f)
feat.object = createFeatureObject(X = X, y = y, fun = f, blocks = c(4, 6))

# plot the corresponing barrier tree
plotBarrierTree3D(feat.object)

Run the code above in your browser using DataLab