zarquon42b / Morpho

R-package providing a toolset for (3D-based) Geometric Morphometrics
51 stars 16 forks source link

line 289 #10

Closed dckatz closed 6 years ago

dckatz commented 6 years ago

... discovered while trying to resolve an unrelated question

ng <- length(groups)

I don't think this line does anything. And it is confusing because the number of groups is equal to length(lev)... as previously defined within the function, and subsequently within CVAcrova.

zarquon42b commented 6 years ago

Thanks for the info. This will probably not be the only case of unused variables, as they often remain noticed when code gets changed/updated.