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 <[EMAIL PROTECTED]> wrote:
> the below is a three dimensional solution
>
>
>
>  On Mon, Apr 14, 2008 at 3:09 PM, stephen sefick <[EMAIL PROTECTED]> wrote:
>  > cor(x, dist(mds))^2
>  >  Error in dist(mds) : (list) object cannot be coerced to 'double'
>  >
>  >
>  >

-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
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