Dear List,

I am trying 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  ~  .,  birdenvi)

birdrich.cca

matplot(birdrich.cca)

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to