1

Concerning the superb iplots package in R:

By default, pressing CTRL and moving the mouse over a point in a scatter plot shows the x and y values of this point. How can I extend this to also show other attributes, which are not part of the plot, as shown here (see Mondrian screenshot) and as asked here, too?

In Mondrian, this works perfectly well by selecting any attributes within the data overview window and then pressing CTRL + SHIFT on a data point in a scatter plot for example. In iPlots, there is no way to select the attributes like this. I thought iplot.setExtendedQuery() is the key. However, there are no examples on how to use the query string.

Selecting a point plus printing the attributes using sth in the veins of mydata[iset.selected(), ] can't be the only way to go...

enter image description here

Charles
  • 50,943
  • 13
  • 104
  • 142
lukeA
  • 53,097
  • 5
  • 97
  • 100
  • 1
    Short answer: can't do it in stock iplots package (I checked the source). See the discussion at [this link](http://r.789695.n4.nabble.com/query-labels-in-iplot-or-other-interactive-scatterplot-td4659918.html) for a way to do this outside of iplots. Two functions in the TeachingDemos package are recommended - HWidentify and HTKidentify. They can be modified to show mult-line attributes on mouseover. – chuff Jun 17 '14 at 05:19

0 Answers0