File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5555 if (method %in% c(7 , 13 , 15 ) && ! isTRUE(all.equal(x , round(x ))))
5656 warning(" results may be meaningless with non-integer data in method " ,
5757 dQuote(inm ))
58+ if (method %in% 7 && round(max(x )) == 1 ) # morisita
59+ warning(" results may be meaningless with largest integer 1 in method " ,
60+ dQuote(inm ))
5861 d <- .Call(do_vegdist , x , as.integer(method ), PACKAGE = " vegan" )
5962 d [d < ZAP ] <- 0
6063 if (any(is.na(d )))
Original file line number Diff line number Diff line change 226226 in the species present at site \e qn{j} that occur with only one
227227 individual in site \e qn{k} (Chao et al. 2005).
228228
229- Morisita index can be used with genuine count data (integers) only. Its
229+ Morisita index can be used with genuine count data (integers) only. It
230+ is based on the idea of resampling without replacement and should not
231+ be used with presence/absence data, but may give meaningless results
232+ if compared sampling units (rows) have largest integer 1. Its
230233 Horn--Morisita variant is able to handle any abundance data.
231234
232235 Mahalanobis distances are Euclidean distances of a matrix where
You can’t perform that action at this time.
0 commit comments