plot.logicDT {logicDT}R Documentation

Plot a logic decision tree

Description

This function plots a logicDT model on the active graphics device.

Usage

fancy.plot(x, cdot = FALSE, ...)

## S3 method for class 'logicDT'
plot(
  x,
  fancy = TRUE,
  x_scaler = 0.5,
  margin_scaler = 0.2,
  cex = 1,
  cdot = FALSE,
  ...
)

Arguments

x

An object of the class logicDT

cdot

Should a centered dot be used instead of a logical and for depicting interactions?

...

Arguments passed to fancy plotting function

fancy

Should the fancy mode be used for plotting? Default is TRUE.

x_scaler

Scaling factor on the horizontal axis for deeper trees, i.e., x_scaler = 0.5 means that the horizontal distance between two adjacent nodes is halved for every vertical level.

margin_scaler

Margin factor. Smaller values lead to smaller margins.

cex

Scaling factor for the plotted text elements.

Details

There are two plotting modes:

Value

No return value, called for side effects

References


[Package logicDT version 1.0.4 Index]