In the stats package, there is a highly useful function called reorder(). In the gdata package, there is also a function called reorder().
How do I force reorder() from stats, not to be overwritten when loading the gdata package? Or, is there a way to reference which reorder() you want to use?
Use stats::reorder()
to reference the version in stats.
From the Examples section of ?library
:
## if you want to mask as little as possible, use
library(mypkg, pos = "package:base")
You can just use stats::reorder()
精彩评论