Re: [R] Textwrangler Languages Folder

2012-05-04 Thread bastian
This is quite some time ago, but I just had the same problem and the folder in the most recent version of TextWrangler. Right-click (well, Ctrl-click) on the application and choose 'Show Package Contents'. Then you can find the folder Language Moudles and include the plist script for R syntax highl

[R] timeseries aggregation by event (zoo, hydrostat, plyr ?)

2015-01-30 Thread Bastian Pöschl
hallo, i search for a possibillity to aggregate a time series by non regular periods (events) As an example i have a precipitation time series ## generate some smooth timeseries library(zoo) library(hydrostats) ## some example data ## ## ## ## x.pr <- c(0, 0, 0, 0.2, 0.8, 0.7, 0, 0, 0, 0.6,

[R] barplot at specific x values

2009-11-12 Thread Bastian Pöschl
"red", lwd=12) I hope somebody is experienced in doing such plots or somebody just knows how to do it. Bastian -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

[R] Rcmdr seit heute nicht mehr ladbar

2013-06-10 Thread Bastian Wimmer
hler: Laden von Paket oder Namensraum für 'Rcmdr' fehlgeschlagen Ich bin ziemlich angefressen. Folgende erfolglose Versuche: - R neu installiert - x11 neu installiert - alle Ordner dabei gelöscht - Pakete neu installiert Nichts. Rcmdr will nicht mehr.  -- Beste Grüße, Yours, Bastian W

[R] Zoo: How to match secondary Y-axis ticks to primary ones

2014-05-27 Thread Bastian Pöschl
. Bastian Here is some code to ty out: ## R-Help 2014-05-27 ## Test second. Y-Axix library("zoo") ## generate some smooth timeseries x1 <- c(38.2, 18.1, 83.2, 42.7, 22.8, 48.1, 81.8, 129.6, 52.0, 110.3) x2 <- c(2.2, 0.8, 0.7, 1.6, 0.9, 0.9, 1.1, 2.8, 5.1, 2.1) z1 <- zooreg(x

Re: [R] Zoo: How to match secondary Y-axis ticks to primary ones

2014-05-28 Thread Bastian Pöschl
")[3]+1) ## my problem!! text doesn't center to the ticks text(y = seq(0, signif(max(na.omit(Zf$z1)*1.05),2), length.out=par("yaxp")[3]+1), par("usr")[2]+(par("usr")[2]-par("usr")[1])*0.025, labels = lablist.y, srt = 90, pos = 4, xpd = TRUE) I hope

Re: [R] Zoo: How to match secondary Y-axis ticks to primary ones

2014-05-28 Thread Bastian Pöschl
Thank you, this is the solution. I just replaced at4/20 by seq(0, max.yl, length.out=par("yaxp")[3]+1) so it should work with any scale. here is the final code that worked for me: ## R-Help 2014-05-28 asked by Bastian Pöschl solved by Gabor Grothendieck library("zoo") ##

Re: [R] Zoo: How to match secondary Y-axis ticks to primary ones

2014-05-28 Thread Bastian Pöschl
Sorry the last post has got a mistake, here is the corrected version: ## R-Help 2014-05-28 asked by Bastian Pöschl solved by Gabor Grothendieck library("zoo") ## generate some smooth timeseries x1 <- c(38.2, 18.1, 83.2, 42.7, 22.8, 48.1, 81.8, 129.6, 52.0, 110.3) x2 <- c(2.2, 0.

Re: [R] Zoo: How to match secondary Y-axis ticks to primary ones

2014-05-28 Thread Bastian Pöschl
To get 0.5 Ticks the script was corrected another time ;) ## R-Help 2014-05-28 asked by Bastian Pöschl solved by Gabor Grothendieck library("zoo") ## generate some smooth timeseries x1 <- c(38.2, 18.1, 83.2, 42.7, 22.8, 48.1, 81.8, 129.6, 52.0, 110.3) x2 <- c(2.2, 0.8, 0.7, 1.

Re: [R] Time Series

2014-06-03 Thread Bastian Pöschl
It would be great to get a detailed question. As far as I understood you wanted to plot your series in a single frame. There are plenty examples in the help of plot.ts and plot.zoo for that. I prefer working with time series be using the zoo package. But most things can also be done within ts. The

[R] Bootstrapping

2011-12-06 Thread Bastian Offermann
Hello, I am having some trouble setting up a bootstrapping prodecure. I create artificial data and would like to use these to bootstrap a t-test statistic from these. Especially I do not really get how boot uses the indices variable or i variable. Can anybody help out? Thanks!! b0 <- 1/2

[R] remove multiple elements from vector

2008-09-27 Thread Bastian Offermann
Hello all, one brief question I would like to remove double/triple elements from a vector, e.g. 0 1 1 1 1 2 2 2 4 5 6 6 but keep one of these multiple ones. Should look like this finally: 0 1 2 4 5 6 My function does not work somehow for(i in 2 : length(x)) {

[R] getAnywhere

2008-10-14 Thread Bastian A.
g 'name' was found It was found in the following places .GlobalEnv with value [1] "a" # I'd like to see a 1 here the value of a Regards, Bastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-

[R] extract certain months toyears (zoo)

2009-01-23 Thread Bastian Pöschl
o) I tried it with merge and... ##vector including all junes l<-length(a.zoo$mean) Junes<-seq(6, l, by = 12) but stuck. Hopefully Bastian __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

[R] read and reshape time series table with empty items

2009-02-25 Thread Bastian Pöschl
1980;1;"NA";"NA";"NA";"NA";"NA";0.6;0.0;0.0;1.0;0.0;0.0;"NA" 1980;2;"NA";"NA";"NA";"NA";"NA";0.5;0.0;0.0;0.0;1.5;0.0;"NA" 1980;3;"NA";"NA&qu

[R] plotting to Postscript and margins

2008-11-14 Thread Bastian A.
side=2,labels=probe.2.symbol(pid),at=1:nrow(fcs),tick=FALSE) par(font.axis=1) par(font.lab=1) axis(side=4,labels=format(pp,scientific=TRUE,digits=2),at=1:nrow(fcs),tick=FALSE) par(las=0) Thanks, Bastian __ R-help@r-project.org mailing list https://stat.e

[R] Static random numbers

2008-12-03 Thread Bastian Offermann
w. The fact that they are kept as a zoo object should not be of too much concern here. Thanks in advance. Regards Bastian Offermann __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http:/

[R] phyper returns negative results

2007-10-02 Thread Bastian Angermann
one of the annoyances of finite precision arithmetic. I tend to think of this as a bug since it breaks the assumption phyper()>=0. Regards, Bastian Angermann -- __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE