本文介绍了R:屏蔽函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 stats 包中,有一个非常有用的函数叫做 reorder().在 gdata 包中,还有一个名为 reorder() 的函数.

In the stats package, there is a highly useful function called reorder(). In the gdata package, there is also a function called reorder().

如何从 stats 中强制 reorder(),而不是在加载 gdata 包时被覆盖?或者,有没有办法引用您要使用的 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?

推荐答案

使用 stats::reorder() 引用 stats 中的版本.

Use stats::reorder() to reference the version in stats.

这篇关于R:屏蔽函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 23:50