[R] how to call functions with same name but in different package?
De-Jian Zhao
dejian.zhao at gmail.com
Sat Mar 17 10:34:24 CET 2012
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:
> hi everyone .
>
> I am trying to use some packages but there are some functions have the same
> name in different package.
> for example
>
> dwt function
>
> both in packages wavelets and waveslim
>
> dwt(X, filter="la8", n.levels, boundary="periodic")
>
> How can I avoid mixing them up ?
>
>
More information about the R-help
mailing list