0

我想通过使用以下代码来计算 IN R 中的不同矩阵。

a <- A[,-c(2,3,4)]
b <- a[-c(201:321), ]
b <- unlist(b)

library(vegan)
PD.dist <- vegdist(b, method = "jaccard", binary = TRUE)
Pd.dist

软件R放了以下答案

PD.dist <- vegdist(b, method = "jaccard", binary = TRUE)
Warning messages:
1: In vegdist(b, method = "jaccard", binary = TRUE) :
  you have empty rows: their dissimilarities may be meaningless in method “jaccard”
2: In vegdist(b, method = "jaccard", binary = TRUE) :
  missing values in results

我进入我的数据框搜索我是否有空行,但情况并非如此我该怎么办?

4

0 回答 0