get_legendGroupTitles: Get legend group titles in trace orders

View source: R/plotly.R

get_legendGroupTitlesR Documentation

Get legend group titles in trace orders

Description

Get legend group titles in trace orders

Usage

get_legendGroupTitles(df, label_by, group_by)

Arguments

df

a dataframe

label_by

a name. The column of df that is used to generate legend label

group_by

a name. The column of df that is used for legendgroup.

Value

a character vector of legendgrouptitles in trace order.


tpemartin/econIDV documentation built on July 2, 2023, 7:36 p.m.