Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
--- From: "Mark Difford" <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2008 6:34 PM To: Subject: Re: [R] Mirror Image on Biplot Graphic Hi Rodrigo, This is because [I now see] you are working on a capscale object, not a cca object, which is what I thought you were usin

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Mark Difford
elided Yahoo spam]] >>> Ah well, I tried the this other way, but it gave me an error. >>> Something in the syntax, I tried to change something but didn't fix the >>> error. >>> >>> CAPpotiFTI<-CAPpotiFT >>> for(i in c(2:8,15)) >>> CA

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
t=F,permutations=999) PermCAPFT summary(CAPpotiFT) # Rotating the axis CAPpotiFTI<-CAPpotiFT for(i in c(2:8,15)) CAPpotiFTI$CCA[[i]][, 1]<-CAPpotiFTI$CCA[[i]][, 1] * -1 -- From: "Mark Difford" <[EMAIL PROTECTED]> Sent: Tuesday, October

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Mark Difford
i]][,1]<-CAPpotiFTI$CCA[[i]][,1]*-1 > Erro em CAPpotiFTI$CCA[[i]] : índice fora de limites (index out of limits) > > Well, it needs lots of patience... > > -- > From: "Mark Difford" <[EMAIL PROTECTED]> > Sent: T

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
f limits) Well, it needs lots of patience... -- From: "Mark Difford" <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2008 3:50 PM To: Subject: Re: [R] Mirror Image on Biplot Graphic Hi Rodrigo, Again an error, as that doesn't touch one of the d

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Mark Difford
;> Fauna >> + Species x Environment') >> Erro em match.arg(display) : 'arg' must be of length 1 >> >> or >> >> text.cca(scores(CAPpotiFTI$biplot),col=323232,cex=0.6,lwd=2,lty='dotted') >> Doesn't return an error, but it's not a mirror image as expected, it's &

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Mark Difford
;) > Doesn't return an error, but it's not a mirror image as expected, it's > nonsense. > > -- > From: "Mark Difford" <[EMAIL PROTECTED]> > Sent: Tuesday, October 07, 2008 12:22 PM > To: > Subj

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
ected, it's nonsense. ------------------ From: "Mark Difford" <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2008 12:22 PM To: Subject: Re: [R] Mirror Image on Biplot Graphic Hi Rodrigo, Sorry again: the structure vegan uses is quite co

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Mark Difford
ow how I applied the suggestion: >> CAPpotiFTI<-CAPpotiFT >> scores(CAPpotiFTI)$species[,2]<-scores(CAPpotiFTI)$species[,2]*-1 >> scores(CAPpotiFTI)$sites[,2]<-scores(CAPpotiFTI)$sites[,2]*-1 >> >> Any ideas? I'm trying similar things but without success.

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
cies[,2]*-1 scores(CAPpotiFTI)$sites[,2]<-scores(CAPpotiFTI)$sites[,2]*-1 Any ideas? I'm trying similar things but without success. -- From: "Mark Difford" <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2008 10:34 AM To: Subject: Re:

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Mark Difford
Hi Rodrigo, Sorry, that will not return a result (I use several different ordination packages, in most of which this is possible). What you need to do with vegan is the following: scores(mynew.cca)$species[, 2] <- scores(mynew.cca)$species[, 2] * -1 You will be able to do the rest. Regards, Ma

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Mark Difford
Hi Rodrigo, >> I need to rotate on y axis the lines and symbols of constrained and sites >> representation. Easiest is to multiply the axis you want to invert by -1. Something like the following, where my.cca is the orginal object and yax = obj[, 2] (xax being obj[, 1]). Obviously, copying isn't

[R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
He everybody, Well I have a biplot CCA-like origined from plot.cca (vegan package). I need to rotate on y axis the lines and symbols of constrained and sites representation. If I do that on an image editor, I rotate everything, including titles, axes labels and positions. I just need to rotate t

[R] Mirror Image on Biplot Graphic

2008-10-03 Thread Rodrigo Aluizio
He everybody, Well I have a biplot CCA-like origined from plot.cca (vegan package). I need to rotate on y axis the lines and symbols of constrained and sites representation. If I do that on an image editor, I rotate everything, including titles, axes labels and positions. I just need to rotate t