na_omit_loon: Helper function to remove NAs for loon plots

View source: R/tools.R

na_omit_loonR Documentation

Helper function to remove NAs for loon plots

Description

Helper function to remove NAs for loon plots

Usage

na_omit_loon(x, y = NULL, linkingKey = NULL, itemLabel = NULL)

Arguments

x

The vector of x values (required)

y

The vector of y values (optional) of the same length as x; if NULL then it's ignored.

linkingKey

The vector of keys used to define links between points, of the same length as x; if NULL it will be 0:(length(x)-1).

itemLabel

The vector of labels for the points, of the same length as x; if NULL it will be constructed.

Value

A list(x, y, linkingKey, itemLabel) where any NA in x or y will have been omitted from all

Author(s)

R. W. Oldford

See Also

Other graphical tools: l_ispace_config(), plot_region(), vport(), zenarrow()


zenplots documentation built on Nov. 8, 2023, 1:10 a.m.