[R] Interactively editing point labels in a graph

Gavin Simpson gavin.simpson at ucl.ac.uk
Thu Feb 4 20:11:58 CET 2010


On Tue, 2010-02-02 at 23:57 -0800, trece por ciento wrote:
> Dear experts,
> I would like to be able to interactively (if possible, with mouse and
> clik) edit point labels in graphs, particularly in multivariate
> graphs, such as the biplots you get after a correspondence analysis
> (with, for example, package ca), where labels tend to overlap. The
> graph aspect ratio is relevant (it needs to be mantained). And I'm
> working with Windows XP.
> In this kind of graphs points in the graph are identified with labels,
> generally long (see, for example:
> http://www.white-history.com/Greece_files/hlafreq.jpg), and sometimes
> -as in the example- it is good to group certain points within
> ellipses.
> Do you know if exists some package able to do this task?
> Thanks in advance,
> Hug

If you can live with the ecological overtones of the vegan package, try
cca() to fit your CA model and then orditkplot() to fiddle with the
ordination labels etc.

HTH

G

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-help mailing list