开发者

R: Masked Functions [duplicate]

开发者 https://www.devze.com 2023-02-08 09:03 出处:网络
This question already has answers here: What doe开发者_运维技巧s "The following object is masked from 'package:xxx'" mean?
This question already has answers here: What doe开发者_运维技巧s "The following object is masked from 'package:xxx'" mean? (2 answers) Closed 5 years ago.

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()

0

精彩评论

暂无评论...
验证码 换一张
取 消