I need to answer this question for an assignment "What is the total number of individuals of the tree Poulsenia armata in the 50-hectare plot?". This is for the BCI data in the vegan package This is literally my first R assignment and I honestly don't know what I'm doing lol
I have tried:
tot_ind <- BCI
tot_ind <- grep("Poulsenia.armata", names(tot_ind), value=TRUE)
and
tot_ind <- which(names(tot_ind)=="Poulsenia.armata")
It will say there no data available in table or
Error in FUN(left, right) : non-numeric argument to binary operator