ps_plot_add_lines_maybe: ps_plot_add_lines_maybe

View source: R/mod_plot_lines_plot.R

ps_plot_add_lines_maybeR Documentation

ps_plot_add_lines_maybe

Description

Given plot_ly object and a set of table of lines, add the lines to the object. Act as a passthrough if the lines table is omitted or empty.

Usage

ps_plot_add_lines_maybe(p, lines = NULL, ...)

Arguments

p

plot_ly object

lines

Lines to add

...

Additional params for plotly::add_lines

Value

modified plot_ly object


tor-gu/streakexplorer documentation built on Aug. 2, 2022, 8:22 p.m.