Closed Willowtree72 closed 7 months ago
Vegan doesn't contain any function with the name d
. Please don't abuse our bug tracker for help requests, especially when those questions are nothing to do with vegan.
ooops sorry - totally new to this, signed up today, I had no idea I was in a bug tracker arena and didn't realise I was still in the Vegan category - I meant to just ask a question in the main forum... I haven't used github before today - so just starting to try and navigate round it
I'm trying to write a short loop but it's not working..
So using the ‘d’ function to estimate qD for q=0,1 and 2. The code I have so far for the short loop is qD <- matrix(NA, nrow=nrow(twice.comm), ncol=3)
but I just get NA in all the cells....
Then I'm using ...
for(i in 1:nrow(twice.comm)){
but the error message is... Error in d(twice.comm[i, ], q = j - 1) : could not find function "d"
I'd be very grateful if someone can anyone help with this