Skip to contents

This function generates a dual-axis longitudinal profile plot using the 'plot_ly' function from the 'plotly' package. It allows you to visualize two different metrics along the selected axis.

Usage

lg_profile_second(data, y, y_label, y_label_category)

Arguments

data

A data frame containing the selected axis data.

y

The primary metric to be plotted on the left y-axis.

y_label

The name of the metric plotted.

y_label_category

The metric category name.

Value

A dual-axis longitudinal profile plot with the specified metrics.

Examples

if (FALSE) {
# like lg_profile_update_main function, see example in documentation
}