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!