Skip to contents

This function generates a longitudinal profile plot using the 'plot_ly' function from the 'plotly' package. It allows you to visualize a specific metric along the selected axis.

Usage

lg_profile_main(data, y, y_label, y_label_category)

Arguments

data

data frame containing the selected axis data.

y

text metric to be plotted on the y-axis.

y_label

text name of the metric plotted.

y_label_category

text metric category name.

Value

plotly A longitudinal profile plot with the specified metric.

Examples

# Create a longitudinal profile plot for active channel width
selected_axis_df <- as.data.frame(network_dgo)