View source: R/plot_interactions.R
Processes the plots double click and hover inputs to create a transect line. Used within an observeEvent
1 | show_transect(transect_dat, x_val, y_val, input_)
|
transect_dat |
Reactive dataframe holding x and y values |
x_val |
Plot input for double click interaction x values |
y_val |
Plot input for double click interaction y values |
input_ |
Placeholder parameter to pass the 'input$hover' from enclosing env |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.