Learn R Programming

linkeR (version 0.1.3)

update_plotly_selection: Update Plotly Selection Based on Shared ID

Description

Updates the selection state of a Plotly component when a shared ID is selected or deselected from another linked component.

Usage

update_plotly_selection(component_id, selected_id, session, components)

Value

NULL (invisible). Function is called for side effects only.

Arguments

component_id

Character string. The ID of the Plotly component to update.

selected_id

The shared ID value to select. If NULL, deselects all points.

session

Shiny session object for the current user session.

components

List containing component configuration information.