addSelectionBox: Add a linking selection box

Description Usage Arguments

Description

allows user to draw a selection rectangle which captures points within that region Currently only works for (lattice) scatterplots and for a single SVG plot only.

Usage

1
addSelectionBox(plotNum = 1, el, f)

Arguments

plotNum

the plot number on the page (from left to right, starting from 1)

el

the element id/tag to capture (points only)

f

function name (character value/string) to pass through


ysoh286/interactr documentation built on May 10, 2019, 1:19 p.m.