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")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With