divide_button_action: Server side function to facilitate division of a single point

Description Usage Arguments

View source: R/utils_server.R

Description

Takes a single point and divides it into n points as determined by the user-specified denominator - defaults to 2 in the UI

Usage

1
2
3
4
5
6
divide_button_action(
  ibi_data,
  denom = NULL,
  selected_points = NULL,
  status = NULL
)

Arguments

ibi_data

IBI data stored in a list of reactiveValues and edited during the user's ibiVizEdit session

denom

the denominator specified by the user. Determines the number of points to divide the selected IBI value evenly into.

selected_points

the points defined by using the "drag" or "click" selection method

status

the status of the divide button - whether it can be used or not


dr-consulting/ibi_VizEdit documentation built on Jan. 1, 2021, 12:04 a.m.