Displaying 20 results from an estimated 3000 matches similar to: "High frequency time-series"
2002 Apr 26
3
different data series on one graph
Hello,
I'm looking for a way to plot different data series on one graph.
I have a series of hourly rainfall and quarterly flow
measurements (i.e. 4 times an hour) of a catchment. The rainfall
should be plotted in bars, the flow as a line. Both on the same X
axe (time) but with different Y axes.
The problem is the plot() function does not support add=TRUE...
Furthermore I'm not sure
2003 Oct 12
7
Integration between R & latex
As an R absolute beginner and an expert (very old) statistician and latex user,
I'm interested in using R to produce AUTOMAGICALLY tables in latex format. I
mean I would like to have the means to build an R procedure generating **FROM
INSIDE** a table or a graph to be inserted directly into latex.
I've read http://hesweb1.med.virginia.edu/biostat/s/doc/summary.pdf where the
author speaks
2004 Jan 19
4
Some more help needed...
As an absolute beginner, still reading "Modern Applied Statistics with S" and exercising with its examples, I'm frequently stopped by what it looks to be R poor help system (or is it my gigantic ignorance?). I mean that using help many arguments of a command seems to be given for granted like for instance:
...............................
?lines
lines(x, ...)
## Default S3
2003 Oct 14
5
Organized examples for newbyes
I'm learning R from scratch on my linux box, being deeply biased at work by those graphical programs, nice to look but often poor in content and almost generally limited, running under M$ Windows.
I wonder if someone out there can suggest to an absolute beginner as I am where to find a collection of examples of R-code (or Splus, as I understand) to play with in order to learn R quicker.
The
2003 Dec 07
5
A hint to start ESS-xemacs
I'm trying to use ESS & xemacs under debian linux testing and KDE.
My problem is that I didn't find any document in the internet explaining a
**step by step** session with R and xemacs.
The (wrong) procedure I follow (to no avail!) is:
1) I start R in a terminal window;
2) I start xemacs and open a file with the extension .R (test.R);
3) I issue M-x R RET and I can see an Rd new
2004 Jan 01
1
Barplot errors in MASS script
Reading "Modern Applied Statististics with S" and trying the corresponding
examples both in the book and in ../lib/R/library/MASS/script, I'm now trying
chapter 4 plotting bars with the following code on a linux box with R 1.8.1:
----------------------
library(MASS)
library(lattice)
options(echo=T, width=65, digits=5)
lung.deaths <- aggregate(ts.union(mdeaths, fdeaths), 1)
2003 Dec 23
1
What's "latex" for?
As an R absolute beginner when I update my R 1.8.1, after installing
the packages I see the various updated commands orderly running in a
table on the screen where, among other things, "latex" and "example"
are indicated.
1) Being an old user of latex what **exactly** the "latex" label on a
command mean and how, in what context, can it be used?
2) How can I see the
2003 Dec 30
1
Mistake with contour...
I'm reading Ripley-Venables "Modern Applied Statistics with S - Fourth edition" , at the same time trying the examples proposed in the book using R 1.8.1 under linux.
Now I'm trying the following code from the book (example code of spatial statistics at page 76) with R :
| data(topo) library("spatial") topo.loess<-loess(z ~ x * y, topo,
| degree= 2,span=0.25)
|
2003 Apr 22
4
Default value for title in postscript function
I like the fact that the postscript function enables the possbiility
of a more useful title than before. However, I'd prefer the default
to be the file name.
It's very simple for me to make my own postscript function that does
just that simply by setting title = file. I always use onefile =
TRUE, so it always works (so far). However, I'm a little reluctant to
do that in case some
2003 Apr 22
4
Default value for title in postscript function
I like the fact that the postscript function enables the possbiility
of a more useful title than before. However, I'd prefer the default
to be the file name.
It's very simple for me to make my own postscript function that does
just that simply by setting title = file. I always use onefile =
TRUE, so it always works (so far). However, I'm a little reluctant to
do that in case some
2003 Oct 17
3
Strange behaviour
As an absolute beginner I'm reading and practicing with the Verzani doc to learn R.
Now, being an expert latex user who wants to integrate graphical capabilities if R and latex, using the "Simple" library and the simple.scatterplot examples I had a go at:
1) Including the resulting graph into a doc.snw then compiled through sweave & latex;
2) Produce the graph in pdf format
2005 Nov 14
1
Tidiest way of modifying S4 classes?
I wish to make modifications to the plot.pedigree function in the
kinship package. My attempts to contact the maintainer have been
unsuccessful, but my question is general, so specifics of the kinship
package might not be an issue.
My first attempt was to make a new function Plot.pedigree in the
.GlobalEnv which mostly achieved what I wanted to. However, I'm sure
that's not the tidiest
2007 Jul 25
1
how to use "replace" for efficiency
Hi
I think I have been struggling to use replace correctly, I usually
work my way around this using a loop, but I think this is in fact
inefficient.
I have a dataset with runoff from three plots and associated rainfall.
However either the datarecording was sloppy, or the rainfall very
patchy. So I am trying to remove data from my dataset for which the
runoff is larger than the rainfall on the
2009 Aug 18
1
aggregating values at discreet irregular time intervals into hourly values
Hello R users,
I'm a newby to R (and programming software at large) and I would need some help to sum up event data at discreet time and irregular time interval into a hourly frequency.
Here is an example of my time series frame (irregular time-serie object - irts in the tseries package):
time value
2008-12-19 19:11:03 GMT 1
2008-12-19 19:12:00 GMT 0
2008-12-19
2003 Nov 25
1
Something broken with update?
Updating my 1.8.0 R installation (>update.packages() ) I obtain the following
(SORRY FOR THE LENGTH OF THE LOG BUT IT HELPS!!!):
................
downloaded 135Kb
KernSmooth :
Version 2.22-11 in /usr/lib/R/library
Version 2.22-12 on CRAN
Update (y/N)? y
mgcv :
Version 0.9-3.1 in /usr/lib/R/library
Version 0.9-6 on CRAN
Update (y/N)? y
trying URL
2001 Mar 05
1
histogram of frequencies (PR#861)
Full_Name: Dr. Bernd Winkler
Version: 1.2.2
OS: Linux
Submission from: (NULL) (194.59.179.176)
Hi all,
having updated to version 1.2.2 last week I experienced some strange behaviour
of
the hist function.
I want to plot a histogram of frequencies resp. counts, for example poisson
random numbers, on a predefined and fixed x scale
> hist(rpois(500, 2), breaks=0:10)
But instead of the
2012 Feb 23
2
TRAMO/SEATS and x12 in R
I have a Mac OS X system. To deal with a long monthly electricity demand time-series I use the procedures TRAMO/SEATS with the MS-windows only Demetra programme and X12 under R resorting to the awkward - as far as the output is concerned - x12 R package running the relating Fortran code.
I wonder if someone out there has attempted to translate TRAMO/SEATS and X12 into R native language?
Ciao
2010 Nov 11
3
overlap histogram and density
Hi,
Does anybody encounter the same problem when we overlap histogram and density
that the density line seem to shift to the right a little bit?
If you do have the same problem, what should we do to correct that?
Thank you.
par(mar=c(4,4,2,1.2),oma=c(0,0,0,0))
hist(datobs,prob=TRUE, main ="Volume of a catchment from four
2008 Jan 24
1
Sliding Window Time Series Analysis - hourly rainfall
I have a time series of rainfall in a dataframe. I would like to be
able to aggregate this using a sliding window approach- i.e. a new 24
hourly total is calculated for each hours rainfall. I'm struggling to
understand how this might be achieved - currently I've tried looping a
sum function to re-calculate a new total at every stage of the loop.
for (inp[[9]] in
2004 May 24
2
Tramo-seats
Working - among other things- in the field of (short & long term) electricity
forecast, we are now using too many & too expensive pieces of licensed
software: SAS, SPSS, EViews. This "sedimentation" is due to the fact that
my predecessors in the past used different consultant companies to manage
each procedure.
Having attended the useR2004! Conference with the aim of assessing