Good day. I am new to R and am currently using R studio. I managed to import my CSV data into R studio, but when I try using R to determine the alpha diversity, B-diversity and other analyses, I get the error "Error in "104D0"shannon : operator is invalid for atomic vectors"
hist("104D0"$shannon, main="Shannon diversity", xlab="", breaks=10)
Error in "104D0"shannon : operator is invalid for atomic vectors
hist("104D0"$simpson, main="Simpson diversity", xlab="", breaks=10)
Error in "104D0"simpson : operator is invalid for atomic vectors
hist("104D0"$chao, main="Chao richness", xlab="", breaks=15)
Error in "104D0"chao : operator is invalid for atomic vectors
hist("104D0"$ace, main="ACE richness", xlab="", breaks=15)
Error in "104D0"ace : operator is invalid for atomic vectors
I will thus be happy to get help on how to convert my csv data into an appropriate vector format in which the various statistical computations can be done.
Thanks for your help!