我在R比较陌生,我正试图在R包dispRity中引导从离散字符矩阵创建的时间分裂的morphospace。
当我运行该功能时:
boot_bin_morphospace<-boot.matrix(binned_morphospace, bootstraps = 100)
我收到以下错误消息:
Error in boot.matrix(binned_morphospace, bootstraps = 100) :
Some matrices in data have different number of columns.
我通过以下方式检查了矩阵:
str(binned_morphospace)
我得到以下输出:
List of 3
$ data :List of 14
..$ 262-261:List of 7
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
..$ 261-260:List of 9
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
..$ 260-259:List of 13
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
..$ 259-258:List of 13
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
..$ 258-257:List of 13
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
..$ 257-256:List of 16
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
..$ 256-255:List of 17
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
..$ 255-254:List of 23
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
..$ 254-253:List of 24
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
..$ 253-252:List of 35
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
..$ 252-251:List of 37
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
..$ 251-250:List of 37
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
..$ 250-249:List of 37
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
..$ 249-248:List of 37
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "0" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "0" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "1" "1" "1" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "0" "0" "1" ...
.. ..$ : chr [1:136] "1" "0" "0" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
.. ..$ : chr [1:136] "?" "?" "?" "1" ...
$ elements: chr [1:43]
$ series : chr [1:15] "discrete" "262-261" "261-260" "260-259" ...
- attr(*, "class")= chr "dispRity"
对我来说,看起来所有14个metrices都有相同的colums(136)。
我已经查看了所有可以找到的资源,似乎无法找出错误或如何使其工作......
有人可以帮助我和/或告诉我错误指的是什么?
谢谢!小时。