plot-fftreeModel-method: plots fast-and-frugal tree

plot,fftreeModel-methodR Documentation

plots fast-and-frugal tree

Description

plots fast-and-frugal tree

Usage

## S4 method for signature 'fftreeModel'
plot(
  x,
  proportions = FALSE,
  legend = TRUE,
  class_labels = FALSE,
  colors = c("brown3", "cornflowerblue"),
  ...
)

Arguments

x

An object of type fftreeModel-class

proportions

If TRUE the proportion of objects in the positive class are shown for each leaf. If FALSE, predicted class labels are shown.

legend

If TRUElegend is shown.

class_labels

If TRUE class labels are shown for each leaf.

colors

Vector of length 2 to set the colors of the two classes. Default: c("cornflowerblue""brown3").

...

optional parameters passed to low level function


marcusbuckmann/ffcr documentation built on Jan. 4, 2024, 3:45 p.m.