strip_unapproved {ggtern}R Documentation

Strip Unapproved Layers

Description

strip_unapproved is an internal function which essentially 'deletes' layers from the current ternary plot in the event that such layers are not one of the approved layers. For a layer to be approved, it must use an approved geometry, and also an approved stat. Refer to approved_layers for the current list of approved geometries and stats

Usage

strip_unapproved(layers)

Arguments

layers

list of the layers to strip unnaproved layers from.

Value

strip_unapproved returns a list of approved layers (may be empty if none are approved).


[Package ggtern version 3.5.0 Index]