包 ecodist 中功能 MRM 的尺寸错误不正确

问题描述

使用Ecodist包中的MRM函数时,出现如下错误

Error in xj[i,drop = FALSE] : incorrect number of dimensions

无论我做什么,我都会遇到这个错误,我什至通过文档中的示例代码得到了它:

data(graze)

  # Abundance of this grass is related to forest cover but not location
  MRM(dist(LOAR10) ~ dist(sitelocation) + dist(forestpct),data=graze,nperm=10)

我不知道发生了什么。我试过其他电脑并得到同样的错误,所以它甚至不限于我的机器(Windows 10,完全更新)。

最好,

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)