Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upbug in plot.envfit #315
bug in plot.envfit #315
Comments
The positions are not quite correct, because ordiArrowText does not know the centroid of arrows when not at=c(0,0) and may move text to the wrong direction. Reported as issue #315 in github, and this fix was suggested there by XavierTB
|
Thanks for reporting this. It is now fixed following your suggestion (plus some fine tuning). |
Hi, I came across a possible bug in vegan 2.5-4 with
plot.envfitWhen I plot an envfit object with the
at=c(x,y)argument, the vectors' origin is displaced by x,y, but the labels are displaced by 2x,2Y, as in the following instance:generated with:
I had a look at plot.envfit, I think the offending line is:
because
vtextis already at the new location from the previousordiArrowtextXYcommandBest