Hello,

Thanks for the response.

matplot was tried for its function to distinguish assigned parts of a matrix
by letters,
for I wanna differentiate the dissimilar columns in a matrix.

Any suggestion based on the idea above will be highly appreciated, such as
points.

Elaine

On Sat, Aug 14, 2010 at 8:16 PM, Gavin Simpson <gavin.simp...@ucl.ac.uk>wrote:

> > Dear List,
> >
> > I am trying to plot the result of cca using matplot but failed.
> > Pls kindly help and thanks.
>
> There is no 'matplot' method for "cca" objects. Where did you get the idea
> that there was one? If you want to plot the cca object, then ?plot.cca and
> ?ordiplot should help. Also look at the vignettes supplied with the
> package as they contain examples of plotting ordination objects.
>
> HTH
>
> Gavin
>
> >
> > 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.
> >
>
>
>

        [[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