Skip to content

Bug on line 212 of calculate_spec_and_pval #5

@jessuplh

Description

@jessuplh

Line 212 of calculate_spec_and_pval throws error "Error in rao_genetic_max(p = abunds_mat[species_inds_4_max[1]], D = env, :
p and D incompatible lengths." when length(species_inds_4_max) == 1.

I think line 212 needs a comma before species_inds_4_max[1].

Full line should read: p=abunds_mat[,species_inds_4_max[1]],

Please advise if this is indeed the error or if it is inappropriate to run analyses when length(species_inds_4_max) == 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions