Interactivity Features
- RIGHT supports a variety of interactivities.
- Such as Tooltip Box, Simultaneous selection, Hiding/Reset, Searching, Table, Right-click Menu, and Regression.
1. Tooltip Box
A mouse hover on a node triggers tooltip box which includes all information about the node.
2. Simultaneous Selection
Each data point on different graphs is connected so that they will be selected at the same time. Multiple selection with Ctrl/Shift key and box selection is also possible.
3. Hiding/Reset
Selected nodes can be hidden. Also, hidden nodes can be reset.
- Before hiding.Select the nodes you want to hide and use right-click menu to hide.
- After click hide menu, it will hide the selected nodes.
- If you want to restore the nodes, use right-click menu again.
- After click reset menu, it will reset the hidden nodes.
4. Searching
Nodes can be searched and selected with boolean statements using search box.
- Auto-complete is enabled for users' convenience.
- Tye boolean statements, and it will select the nodes which satisfy the condition.
- Recent boolean statements are saved in ans?, so you can re-use ans? for further search.
5. Table
Table shows all information about selected nodes.
Here is an example. Let's try!!6. Right-click Menu
When right click occurs, it will show context menu.
7. Regression
Draw a regression line(linear or loess) using server offloading in Shiny package. Check more detail in this page
8. Example Code
> subDiamonds <- diamonds[sample(1:nrow(diamonds), 100, T) ,]
> RIGHT({plot(conc ~ Time, Theoph, type="p", color=Subject)
plot(conc ~ Wt, Theoph, type="p", color=Subject)
hist(Time, Theoph, color=Subject)
plot(price ~ clarity, subDiamonds, type="p", color=color)
hist(clarity, subDiamonds)
pie(clarity, subDiamonds)
plot(price ~ cut, subDiamonds, type="p")
hist(cut, subDiamonds)
pie(cut, subDiamonds)
boxplot(price ~ carat, subDiamonds)
search(Theoph)
search(subDiamonds)}, ncol = c(1,2,3,4))