Learn R Programming

ggtern (version 1.0.1.3)

strip_unapproved: Strip Unapproved Layers

Description

strip_unapproved is a function which essentially 'deletes' layers from the current ternary plot, if such layers are not one of the approved layers. The current list of approved layers are as follows:
  • point, path, segment and polygon
Tline, Lline and Rline smooth and density2d-ggtern text rug

Usage

strip_unapproved(layers)

Arguments

layers
list of the layers to strip unnaproved layers from.

Value

  • list of approved layers (may be empty if none are approved)