2

Is there an identify function for pairs plots?
I.e. a function that from clicking into a pairs plot returns the row index of the point in the data matrix (data.frame) that corresponds to the point.

I know I can switch to lattice:

splom (matrix (rnorm (30), 10))
trellis.focus ()
panel.link.splom ()
## [1] 7

However, if there exists a base graphics version, I'd like to know it.

4

1 に答える 1