I am using the following code to get the plot in canonical analysis in vegan package in R. The plot I get is for axes 1 and 2. How can I get a plot for axes 1 and 3.
library (vegan)
e.data= read.csv (file.choose())
e.data.ca <- cca(e.data)
plot(scores(e.data.ca,display="sites"),type="p", cex=3*log(rowSums(e.data)/max(log(rowSums(e.data))))
text (scores(e.data.ca,display="sites"),row.names(e.data))
When I add this code : choices= c(1,3) to it:
plot (scores(e.data.ca,display="sites"),type="p", choices=c(1,3), cex=3*log(rowSums(e.data)/max(log(rowSums(e.data))))
I get the following error:
Error: unexpected symbol in:
"plot(scores(e.data.ca,display="sites"),type="p", choices=c(1,3), cex=3*log(rowSums(e.data)/max(log(rowSums(e.data)))) plot"
Warning messages:
1: In plot.window(...) : "choices" is not a graphical parameter
2: In plot.xy(xy, type, ...) : "choices" is not a graphical parameter
3: In axis(side = side, at = at, labels = labels, ...) :
"choices" is not a graphical parameter 4: In axis(side = side, at = at, labels = labels, ...) : "choices" is not a graphical parameter 5: In box(...) : "choices" is not a graphical parameter 6: In title(...) : "choices" is not a graphical parameter
Any hint would be greatly appreciated