Displaying 1 result from an estimated 1 matches for "birdrich".
2010 Aug 14
1
cca biplot (vegan) failed in matplot
...to plot the result of cca using matplot but failed.
Pls kindly help and thanks.
Elaine
The error message was
error in xy.coords(x, y, xlabel, ylabel, log = log) :
(list) object cannot be coerced to type 'double'
code
rm(list=ls())
library(vegan)
library(MASS)
# input richness
birdrich <-read.csv("c:/migration/CCA_richness_20100814.csv",header=T,
row.names=1)
# input environment
# GID 1 row sum = 0 therefore deleted GID1 in birdenvi
birdenvi <-read.csv("c:/migration/CCA_envi_20100815.csv",header=T,
row.names=1)
birdrich.cca <- cca(birdrich...