Skip to content

different results from vegan depending on input type #147

@GSatten

Description

@GSatten

i am trying to use the adonis function in vegan to run the permanova analysis. but i am getting very different results depending on how i call adonis.

if i call adonis using a distance object such as the following:

bc=vegdist( data, method='bray')
adonis(bc~var)

i get a very different result than if i convert bc (a dist object) into a matrix:

bc=as.matrix( vegdist(data, method='bray') )
adonis(bc~var)

what is causing this difference and which is correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions