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.
1 | addSelectionBox(plotNum = 1, el, f)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.