Hello, I have installed the "vegan" package and when I run my code shan <- diversity (x, index = "shannon") simp <- diversity (x, index = "simpson") it says Error Error in diversity(x, index = "shannon") : input data must be numeric
Please help me!
What are the results of the commands
class(x) str(x)
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.