Displaying 20 results from an estimated 3000 matches similar to: "how to call functions with same name but in different package?"
2006 Jan 08
2
Filters in waveslim
Dear R Users,
For running wavelet functions using dwt( ), modwt( ), and mra( ), a wavelet filter algorithm is applied. For all these functions, default is "la8" and other possibility is "haar". In related documents, another possibilities like as symlet and coiflet ... are not cited.
Besides "la8" and "haar", which wavelet filters can be used?
Thank
2005 Nov 04
1
problem in waveslim library?
This code consistenly segfaults for me. Can someone please take a look
and tell me if the problem is due to something I am doing or is there a
problems with the dwt (idwt) functions in the waveslim library.
Thanks
tom
library(waveslim)
2006 May 25
1
understanding DWT
Can someone please help me understand the examples given in the dwt
function of the waveslim library
library(waveslim)
?dwt
I'm having a problem understanding these lines. I assume they are
required because of how the algorythm deals with the signal bounderies.
Am I correct in thinking that for wavelets of scale 1 and 2, the
coefiecints need to be shifted by 2 places, for scale 3 and 4 shift
2002 Oct 27
1
denoising univariate data with wavelets
Hi,
I am interested in a applying wavelets as a smoothing tool for my
(1-dimensional) data. I looked into wavetresh and waveslim packages but
could not quite figure out an obvious way to do this after running dwt or
wt functions. Would someone be able to point me in the right direction on
how to denoise univariate data using one of wavelet packages available in
R?
Thank you very much
Jane
ps
2006 Nov 15
2
??: Re:??: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
Airon,
I don't think you have to find an English computer 'cause the
following must work in your Chinese one :-)
Let me explain. First of all, change your lines to
xdata <- ckhdat$Adj..Close[1:1447]
#names(ckhdwt.la8) <- c("w1", "w2", "w3", "w4", "w5","w6", "v6")
note the # sign, i.e., DO NOT change the names
2006 Nov 14
1
??: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
Airon,
I used R2.4.0 on a Windows XP (SP2) (not Chinese :-))
and it still works:
> data = read.csv("u:/airon.csv")
> xdata = data$Adj..Close
> modwt.la8 = modwt(xdata, "la8", n.level=6)
> summary(modwt.la8)
Length Class Mode
d1 1467 -none- numeric
d2 1467 -none- numeric
d3 1467 -none- numeric
d4 1467 -none- numeric
d5 1467 -none- numeric
d6 1467
2006 Nov 12
2
Need help in waveslim package: imodwt and universal.thresh.modwt
Hi:
I have encountered problems with imodwt and universal.thresh.modwt and cannot find any reference in R Search. Hope someone can give me some ideas:
Starting with
modwt.la8 <- modwt(xdata, "la8", n.level=6) <-- this seems to work fine
(1) ydata <- imodwt(modwt.la8)
will always give ydata as numeric(0) (no values) instead of being a time series data with
2012 Apr 01
1
Error in xy.coords(x, NULL, log = log) : (list) object cannot be coerced to type 'double'
Hi there,
When I run the code below I get the error
Error in xy.coords(x, NULL, log = log) :(list) object cannot be coerced to
type 'double'
Any tips how I can resolve this?
>
> library("waveslim")
>
> vols=read.csv(file="C:/Users/ocuk/My Documents/Abs Vol.csv", header=TRUE,
> sep=",")
> x<-c(vols[,1])
> #x
> #data(ibm)
>
2001 Nov 09
1
Installing packages
Hello,
I have upgraded from Mandrake Linux 8.0 to Mandrake 8.1 and try to reinstall
my favourite R... Everything is OK for the base software but I have trouble
to get some packages installed.
Specifically, for some packages, a "collect2" binary seems to be necessary
during the compilation/linking process of the library, and LD complains about
not finding it :
Installing source
2008 Dec 28
0
how to calculate DWT maximum decomposition level
Given a time series of length N, I am trying to figure out its maximum DWT decomposition level.
With reference to "dwt" function of R package "wavelets", running the provided example I get the following
and wonder how the maximum decomposition level (which is not an integer number) is calculated.
I tried myself the formula in the on-line documentation but could not get the
2009 Jul 29
2
quetions about dimensions
hi ,everyone,
I have a script shown as below:
> bj2=bjerrdata$tyerr[bjyearnum[2]+1:bjyearnum[3]]
> length(bj2)
[1] 448
while
> b=bjyearnum[3]
> a=bjyearnum[2]+1
> bj1=bjerrdata$tyerr[a:b]
> length(bj1)
[1] 169
it is different with bj2 and bj1 . and the array bjyearnum is
[1] 0 279 448 633 1021 1365 1813 2237 2839 3314 3798 4157 12
why bj1 is 169 while bj2 is 448
2012 Mar 14
6
where I can find more color names or color definition?
hi everyone .
Now I want to draw several lines in one frame.And it seems needs more
colors except for blue red,black .Where can i found these color name or
define some new color ?thank you .
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China
[[alternative HTML version deleted]]
2009 Jul 18
3
how to run the R script in background in Windows XP?
Hello ,everyone.
I am a fresh user of R. I wrote several several R script in R with the
version 2.9.1 in Windows XP. But I only can run these scrpit via R-GUI.
Can anyone tell me how to run the scripts in background without openning
R-gui.In another word, run the R-script and get the result via
some batch proceesing files or shell scripts directly?
Thanks.
.
--
TANG Jie
Email:
2012 Mar 08
6
how to modify the tickment of x-axis
hi
I plot a series of observation data every minutes in a day as the
attachment below
plot(wnd,type='l',lty=1,col='red',lwd=1,xlab=xxlab,ylab=yylab,ylim=YY)
In the figure, the x-axis tickment is the number of data How can I change
it
fore example 1h 2h 3h 4h and so on ?
--
TANG Jie
Email: totangjie at gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China
2009 Feb 20
0
package "wavelets" does nor recognize filter "d2"
I take the liberty of pasting the on-line documentation for package "wavelets", functions "dwt" and "wt.filter", pertinent to the wavelet/filter choice.
While I apologize for my verbose messages with huge attachments, I encourage whoever loads packages to CRAN to take some minutes to reread the attached documentation.
Usage
dwt(X, filter="la8", n.levels,
2009 Jul 20
5
what is meaning of the bubbles in boxplots?
Hi ,everyone ,
I draw some boxplot figure with the command "boxplot".But in the
figure,there are some bubbles at the top part of the figure.
Can anyone tell me what the correct meaning of these bubbles?and how to
remove it?
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China
[[alternative HTML version deleted]]
2012 Aug 01
2
how to subset the data frame by lines
I defined a data.frame by a two-dimensional array.
> aa = data.frame(rbind( 11:20, 1:10))
> aa
X1 X2 X3 X4 X5 X6 X7 X8 X9 X10
1 11 12 13 14 15 16 17 18 19 20
2 1 2 3 4 5 6 7 8 9 10
Now I want to use the data in the second line of aa which from 1 to 10 to
output.But I find that when I use the aa[[1]][1:10] and it seems be mistake.
aa[[1]][1:10]
[1] 11 1 NA NA NA
2012 Jul 10
2
is it possible to insert a figure into into another new figure by r script
hi R-users
Now I have a figure in emf or png or tiff format that have been drawn
by other tool and I want to insert this figure into
my new figure by R script. I wonder if is possible ?
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China
[[alternative HTML version deleted]]
2012 May 13
1
how to write data using xlsReadWrite
Hai I'm Dee. I'm trying to write var data from these codes inside excel
file. My directory to store the data is *D:\FYP\image* .
these are my codes, can you help give an advice or idea with my problem:
l*ibrary("biOps")
library("waveslim")
library("xlsReadWrite")
x <- readTiff("D:\\FYP\\image\\SignatureImage\\user186g1.tif")
y <-
2009 Jul 31
2
how use the subset?
hi ,everyone
I want subtract some dataset by subset.
>From the help running help(subset), ths information is "*subset(airquality,
Day == 1, select = -Temp)* "
while I running my script written as "*g1data<-subset(errdata, fac>12) *"
,it is wrong with the error information "*subset.default(newerrdata,
fac>12),can not find fac*"
and g1 in read