[R] Fast continious wavelet transformation (CWT) and plot?

2016-11-22 Thread stvienna wiener
Dear all, This is my test code: library(wmtsa) sunspotsLong <- rep(sunspots, times=3000) ## try "times=30" (or 300) sunspots.cwt <- wavCWT(sunspotsLong) plot(sunspots.cwt, series=TRUE) If you adapt times in the second line with "30", the code works. But 300 or 3000 not so much. Are there more

[R] Lattice barplot not wokring in for-loop?

2009-09-18 Thread stvienna wiener
Dear List-Members, I am plotting a barplot with the lattice package. The code works, but when I execute the same code in a for-loop no plot is shown. Can't figure what the problem is. (Maybe I am missing something here, but I tried it with plot device pdf, calling windows() or X11(), testing on w

Re: [R] Novel (Maybe?) Visualizations

2010-02-11 Thread stvienna wiener
2010/2/10 Johannes Huesing : > D. Dashcle [Wed, Feb 10, 2010 at 01:13:58AM CET]: > I would look for "graphviz" in www.rseek.org and procede from there. Is graphviz really the only option? I guss so, but the license of graphviz is very restricted and not comparable to the usal open source license

[R] Error when running the examples in plotMultiTS / QRMlib

2009-07-10 Thread stvienna wiener
Dear List, R ist somtimes a bit frustrating... I ran the example from http://bm2.genes.nig.ac.jp/RGM2/R_current/library/QRMlib/man/plotMultiTS.html and I get an error. Has someone an explanation for this? Thanks a lot, Steve CODE: library(R.utils) library(tseries) library(wmtsa) libra

Re: [R] Save results

2009-07-16 Thread stvienna wiener
Hi Jose, Have you tried: Z <- diag(10) write.csv(Z, file = "mymatrix.csv") type "?write.csv" to see the options to get a better result with excel. However you can open the file "mymatrix.csv" with excel (it is stored in the "My Documents" folder in windows). Ok, hope that helps. Next time you

[R] zoo plot: yearly marks on X-Axis

2009-07-25 Thread stvienna wiener
Hi all, I am plotting a financial time series, but I need a more detailed X-Axis. Example: x <- zoo(rnorm(1:6000), as.Date("1992-11-11")+c(1:6000)) plot(x) The X-Axis is labeled "1995", "2000" and "2005". I would need either "1995", "1997", etc. or maybe yearly I used google first, then look a

[R] ggplot2 box plot notches

2009-09-29 Thread stvienna wiener
Dear List, I just googled to find out if notched box plots are possible with ggplot2, but couldn't find a answer to it. boxplot() has the option: notch = TRUE, e.g.: boxplot(mpg$hwy, notch=TRUE) My example code (taken from the net) is: require(ggplot2) qplot(class, hwy, fill=factor(year), data

Re: [R] ggplot2 box plot notches

2009-09-29 Thread stvienna wiener
Dear Thierry, Thank you very much for the fast reply. Is there a way not to plot outliers in the ggplot2 boxplots? In a way that the scale of the y-axis is rendered as if there was no outlier? (not just the the ouliers removed with the same scale of the y-axsis...) [ example for a boxplot: qpl

[R] why is adnonis function called adonis {package vegan}

2009-11-02 Thread stvienna wiener
Hello all, I used google and looked at the documentation to find out why the ADONIS function is called adonis (in the vegan package). I am writing a document and would like to include a abbreviation list (similar to "ANOSIM = Analysis of Similarities"). regards, Steve

[R] unicode variable and function names?

2011-01-03 Thread stvienna wiener
Dear List, Is it possible to have function names like ∀ (unicode universal quantifier)? This question is inspired by agda source code, which supports this. http://www.cs.nott.ac.uk/~nad/listings/lib-0.4/Algebra.html It would be handy to use. My guess is, however, that it's not supportet in R.

[R] using wavelet transform to calculate mean frequency of a signal

2009-03-22 Thread stvienna wiener
Dear list, in short: I would like to calculate the mean frequency of a signal (e.g. time series) using the wavelet transform. with details: I did not find a R function to calculate a mean frequency using one of the cran packages. My searches using R Site Search returned: **(1)waveclock {wavec