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

2011-04-08 Thread Emili Garcia-Berthou
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,

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

2011-04-08 Thread Ingolf Kuehn
Dear Emili, text works: the origin of the plot is in the centre upper left circle (X1 | X2+X3). Hence text(0, 0, X1) would overwrite the 0.04. Similarly: see text(1, 0, X2), text(0.5, -.86, X3) This might help you finding the correct coordinates. Cheers Ingolf Am 08.04.2011 11:22, schrieb

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

2011-04-08 Thread Jari Oksanen
On 8/04/11 12:46 PM, Ingolf Kuehn ingolf.ku...@ufz.de wrote: Dear Emili, text works: the origin of the plot is in the centre upper left circle (X1 | X2+X3). Hence text(0, 0, X1) would overwrite the 0.04. Similarly: see text(1, 0, X2), text(0.5, -.86, X3) This might help you finding the

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

2011-04-08 Thread Emili Garcia-Berthou
Thank you very much! Both answers are great! I'll give the complete example (drawn from the varpart help) for future list readers. 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)

Re: [R-sig-eco] equation 9 Peres-Neto et al. 2006

2011-04-08 Thread Ivan Jimenez
Dear Etienne, I agree. Pedro Peres-Neto kindly wrote to confirm that there is a typo in equation 9. He also pointed out that the Matlab code in supplement 2 of the paper is correct. Best, Ivan From: Etienne Laliberte [mailto:etiennelalibe...@gmail.com] Sent:

[R-sig-eco] zero-truncated Poisson

2011-04-08 Thread Stratford, Jeffrey
Hi everyone, I'm attempting to run a zero-truncated Poisson using VGAM and I run into this error: Error in if ((temp - sum(wz[, 1:M, drop = FALSE] wzepsilon))) warning(paste(temp, : argument is not interpretable as logical Here's the code I'm using blja - read.csv(g:\\blja\\blja.csv,

Re: [R-sig-eco] zero-truncated Poisson

2011-04-08 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/08/2011 04:10 PM, Stratford, Jeffrey wrote: Hi everyone, I'm attempting to run a zero-truncated Poisson using VGAM and I run into this error: Error in if ((temp - sum(wz[, 1:M, drop = FALSE] wzepsilon))) warning(paste(temp, :

Re: [R-sig-eco] zero-truncated Poisson

2011-04-08 Thread Stratford, Jeffrey
Thanks Ben, That didn't do the trick. I checked all the classes year size distance taken mass factor factor numeric integer numeric And used the notation that you suggested and I did get the same error. Just so it's not such a black box for me, what makes vector GLMs