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
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,
"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
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
.
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
")[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
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")
##
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.
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.
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
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
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)) {
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-
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
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
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
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:/
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
18 matches
Mail list logo