开发者

R: Masked Functions [duplicate]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜