Closed emhart closed 10 years ago
the code RA1(macwarb) returns a matrix that throws an error with the Pianka metric. This is because RA1 returns:
RA1(macwarb)
Pianka
RA1
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 0.4076 0.633725 0.5044575 0.6635675 0.8789925 0.2179653 0.209956 0.7695814 0.220267 0.2328854 [,11] [,12] [,13] [,14] [,15] [,16] [1,] 0.884197 0.9193044 0.574637 0.4272182 0.9468288 0.2616613
Seems like RA1 needs to be fixed.
Looks like the issue here is that the function uses length to figure out the dimensions of the matrix. It should use a different method.
length
the code
RA1(macwarb)
returns a matrix that throws an error with thePianka
metric. This is becauseRA1
returns:Seems like RA1 needs to be fixed.