strip_unapproved: Strip Unapproved Layers

View source: R/strip-unapproved.R

strip_unapprovedR 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).


ggtern documentation built on June 7, 2023, 6:33 p.m.