Skip to content

how to call functions with same name but in different package?

4 messages · Jie Tang, Brian Ripley, Dejian Zhao

#
Rename the functions after loading the library.

library("wavelets")
dwt.wavelets <- dwt
library("waveslim")
dwt.waveslim <- dwt

Then use dwt.wavelets and dwt.waveslim instead.
On 2012-3-17 17:03, Jie Tang wrote:
#
On 17/03/2012 09:34, De-Jian Zhao wrote:
Please, not necessary!

Use wavelets::dwt or waveslim::dwt to distinguish them.

  
    
#
Much better! Thanks.
On 2012-3-17 18:02, Prof Brian Ripley wrote: