Displaying 20 results from an estimated 4000 matches similar to: "time series with quality codes"
2008 Jul 24
1
plot.dendrogram xlim/ylim
list(...),
I would like to zoom in to the leaves of large trees in a dendrogram
plot. The playwith package allows zooming by passing xlim and ylim
arguments to the plot call (Hmisc does this too I think). But
currently stats:::plot.dendrogram does not accept xlim or ylim. So I
would like to enable that. In place of the existing code chunk:
xlim <- c(x1 - 1/2, x2 + 1/2)
ylim <- c(0,
2008 Jan 15
1
navigating ggplot viewports
list(...)
I can not get at the grid viewports in a ggplot2 plot.
I know there is supposed to be a viewport called "panel_1_1" but
downViewport() can't find it. Has the viewport been popped?
I had a quick look at the functions involved (eg ggplot_plot)
but there is no obvious problem there.
> library(ggplot2)
> qplot(1:10, 1:10)
> current.viewport()
viewport[ROOT]
>
2008 Jul 22
1
xyplot help
I have a question about xyplot. Suppose I want to plot say a response variable y vs a predictor x within groups defined by a variable called z. And suppose I have another variable v=1,2 with two levels. I would use the following command to get a "spaghetti plot" with two panels defined by v. xyplot(y~x|v,groups=z,type="l") My question is that on top of the panels, the title of
2007 Aug 08
1
Binary Search
Hi!
R is an amazing piece of software and with so many libraries it can do
almost anything... but I was very surprised that a standard "binary
search" function seems not to exist. I can find other much more
highly-complex search routines (optimize, uniroot, nlm) in the standard
no-extra-packages-loaded version of R, but not this simple alternative.
I searched and found an
2008 Jan 07
1
How to rearrange lattice graphics output?
My question arises when I use levelplot graphics. For example,
levelplot(z~x*y|fg) where fg is a factor with three levels of
'a','b','c'. The panels come out in a default order. I would like to
rearrange the panels in a manner of 'c','b','a'. I used
fg<-ordered(fg, levels=c('c','b','a'))
But the panels are still the
2008 Jun 19
0
playwith 0.8-55
playwith package version 0.8-55 is now on CRAN.
It provides a GTK+ interface for interacting with R plots.
Screenshots of some examples are online at:
http://code.google.com/p/playwith/wiki/Screenshots
Changes in Version 0.8-55
o argument `parameters`: automatically constructs
widgets to control parameter values appearing in the call.
o default action when dragging on the plot is zoom.
2008 Jun 19
0
playwith 0.8-55
playwith package version 0.8-55 is now on CRAN.
It provides a GTK+ interface for interacting with R plots.
Screenshots of some examples are online at:
http://code.google.com/p/playwith/wiki/Screenshots
Changes in Version 0.8-55
o argument `parameters`: automatically constructs
widgets to control parameter values appearing in the call.
o default action when dragging on the plot is zoom.
2008 Jul 27
1
Transfer Function Modeling
Hi,
I would like to know how to build the transfer function modeling for
bivariate time series data. I tried searching for relevant threads, but
could not find much help with it.
Thanks
Ashish
[[alternative HTML version deleted]]
2008 Aug 05
2
graphical user interface
Hi there,
I would like to design a graphical user interface to provide the functionality
of my R-scripts to other users (not knowing anything about R...)
Can anybody give me some hints which possibilities I have (advantages /
disadvantages)?
What do you use to build applications?
Ciao,
Antje
2008 Jul 28
1
equivalent to "require" for imports? (cairoDevice)
Hi R-devel
I use the packages RGtk2 and cairoDevice. The cairoDevice package has
a few stand-alone functions, plus "asCairoDevice" which depends on
RGtk2 and calls require(RGtk2). So cairoDevice lists RGtk2 under
"Suggests" in the DESCRIPTION file. It can not Import RGtk2 because
that would force all users to install RGtk2.
The upshot of this is, if you *import* the RGtk2
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
2007 Aug 31
2
Problem of vocabulary : retrieve element of a list of a list
Hi,
I read the posts for 2 hours and ?list and tried many comninations but I
haven't found the answer to this basic question. So I decided to post my
question even if it is a silly one ...
What is the instruction to retrieve, for example, the "D" of the first list
?
Thanks in advance,
Ptit Bleu.
> x<-list(LETTERS[1:5], LETTERS[10:20])
> x
[[1]]
[1] "A"
2007 Aug 02
2
new package plotAndPlayGTK
Package plotAndPlayGTK provides a graphical user interface for R
plots. Wrap it around your plot commands, like playwith(plot(mydata)).
A window pops up with a Cairo plot device and a toolbar with buttons
to interact with the plot. The default buttons allow you to add
persistent labels to data points, zoom in and out and around, save the
plot to a file, and so on. Furthermore, you can edit the
2007 Aug 02
2
new package plotAndPlayGTK
Package plotAndPlayGTK provides a graphical user interface for R
plots. Wrap it around your plot commands, like playwith(plot(mydata)).
A window pops up with a Cairo plot device and a toolbar with buttons
to interact with the plot. The default buttons allow you to add
persistent labels to data points, zoom in and out and around, save the
plot to a file, and so on. Furthermore, you can edit the
2007 Aug 22
3
Help with vector gymnastics
Hello,
What is the best way of solving this problem?
answer <- ifelse(tf=TRUE, i * 5, previous answer)
where as an initial condition
tf[1] <- TRUE
For example if,
tf <- c(T,F,F,F,T,T,F)
over i = 1 to 7
then the output of the function will be
answer = 5 5 5 5 25 30 30
Thank you.
Phil,
2008 Feb 11
2
RGTK2 and glade on Windows - GUI newbie
Hallo,
I'd like to write a GUI (first choice with GTK+).
I've surfed through the R- an Omegahat-Pages, because I'd like to use
RGTK2, GTK 2.10.11 in combination with glade on Windows XP (perhaps later
Unix, Mac).
I've found a lot of different information. Because of the information I'm
not sure, if this combination is running on Windows XP and I'm unsure how
it works.
Is
2008 Jul 29
1
How to set the parameters in Trellis Graphics (by Lattice package)
Dear R users
I plot the trellis graphics by using the lattice package. Everything is
OK. Now, I want set
some parameters of the trellis graphics.
1. The tick label site. By default, only two tick labels had been output in
x-axis of my plot.
I want output four or five tick labels. In the traditional graphics system,
it will be very easy.
Just not output the axis in plot by use the parameter
2007 Aug 19
2
Does anyone else think this might be worth a warning?!?
Hi,
I was *very* surprised by this little trick for new players: mean() only
considers its first argument!
> mean(1,1,2)
[1] 1
> mean(2,1,1)
[1] 2
I found this very different behaviour to max():
> max(1,1,2)
[1] 2
> max(2,1,1)
[1] 2
Perhaps this is the wrong list to ask, but does anyone else think this a
little on the interesting side? Is it not possible to detect a
2007 Jul 14
0
ts model challenge (transfer function)
Dear useRs,
I am trying to model a time series with a transfer function. I think
it can be put into the ARMA framework, and estimated with the 'arima'
function (and others have made similar comments on this list). I have
tried to do that, but the results have so far been disappointing.
Maybe I am trying to make 'arima' do something it can't...
The data are time series of
2008 Apr 20
1
Reg. consensus ranking
Dear All,
I have a list of models(1000) which have variable scores from 20 different method. I would like to rank models using consensus approach based on high scores from different methods.Is there any function available in R for this purpose? I will appreciate any pointers in this regard.
Thank you very much in Advance,
Mallika