Re: [R] How to plot CI's (llim ulim) on ecodist mgram

2011-10-16 Thread Weidong Gu
It is good to provide the code but please make sure it is reproducible? e.g. XZ is not defined in mgram(XY,XZ)? Weidong Gu On Sun, Oct 16, 2011 at 7:10 PM, Nevil Amos wrote: > I would like to put confidence intervals on a mantel corellogram > they are already calculated in the pmgram object but

Re: [R] How to plot CI's (llim ulim) on ecodist mgram

2011-10-16 Thread Sarah Goslee
Hi, The x value you want is lag from my.mgram$mgram You can use lines() to add them to the plot. Sarah On Sun, Oct 16, 2011 at 7:10 PM, Nevil Amos wrote: > I would like to put confidence intervals on a mantel corellogram > they are already calculated in the pmgram object but I am unsure how I

[R] How to plot CI's (llim ulim) on ecodist mgram

2011-10-16 Thread Nevil Amos
I would like to put confidence intervals on a mantel corellogram they are already calculated in the pmgram object but I am unsure how I get the x value in order to plot them? package(ecodist) X<-1:100 Y<-rnorm(1:100) Z<-rnorm(1:100) XY<-dist(data.frame(X,Y)) YX<-dist(data.frame(Y,X)) my.mgram<-