[R] Vegan R^2 and tau values for metaMDS
Sarah Goslee
sarah.goslee at gmail.com
Mon Apr 14 21:38:56 CEST 2008
Dimensionality doesn't matter. 2, 3, 14 will all work.
What matters is that apparently vegan returns the results in some
format other than a straight sites x ordination coordinates matrix,
which is what dist expects. You'll need to convert it to one, possibly
with as.matrix, or extract the coordinates component from a
list, or whatever is appropriate for the output of that function from
that package. The help file should tell you the correct approach
for getting the nmds configuration itself.
Sarah
On Mon, Apr 14, 2008 at 3:10 PM, stephen sefick <ssefick at gmail.com> wrote:
> the below is a three dimensional solution
>
>
>
> On Mon, Apr 14, 2008 at 3:09 PM, stephen sefick <ssefick at gmail.com> wrote:
> > cor(x, dist(mds))^2
> > Error in dist(mds) : (list) object cannot be coerced to 'double'
> >
> >
> >
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list