[R-sig-eco] labels to a varpart diagram

Emili Garcia-Berthou emili.garcia at udg.edu
Fri Apr 8 11:22:51 CEST 2011


Dear list members:

Does anybody know how to add labels to the sets/circles of a "varpart"
diagram?

E.g., how to add labels to the three circles obtained with:

data(mite)
data(mite.env)
data(mite.pcnm)
mod <- varpart(mite, ~ SubsDens + WatrCont, ~ Substrate + Shrub + Topo,
   mite.pcnm, data=mite.env, transfo="hel")
plot(mod)
mtext("Variation partitioning")

The standard "text" or "legend" functions used for plots do not work
presumably because it is a "varpart" object.

Thank you in advance!

Emili GARCÍA-BERTHOU, Professor of Ecology
Institut d'Ecologia Aquàtica & Dept. Ciències Ambientals
Universitat de Girona, E-17071 GIRONA (Catalonia, Spain)

Tel.: +34 650 640 914 (dins UdG: 9221); Fax:  +34 972 418 150
Personal web page: http://invasiber.org/EGarcia/ 



More information about the R-sig-ecology mailing list