Displaying 20 results from an estimated 10000 matches similar to: "Time Series methods"
2012 Dec 04
4
partial analisys of a time series
Dear list members
I want to analyze separately the months of a time series. In other words, I
want to plot and fit models for each month separately.
Taking the example of
http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html
births <- scan("http://robjhyndman.com/tsdldata/data/nybirths.dat")
birthstimeseries <- ts(births, frequency=12,
2003 Nov 02
1
Boxplot with full x-range
Hi all,
I'm new to R, and have the following problem:
I wish to draw a boxplot of simple data in two columns. The x-axis
(taken from first column) is grouped to intervals (using 'cut').
These intervals serve as x-value to the boxplot, and the data from the
second column are the y-values.
The problem is that I want to give an impression of the trend of the data
in the x-range.
2011 Sep 01
2
how to plot a series of data in a dataframe?
hi
i have a dataframe with the name "obsdata"
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13
1 1001 3 24 12 24.7 44.4 70.1 49.3 33.7 3.0 6.8 2.7 NA
2 1001 3 25 0 70.1 49.3 33.7 138.2 152.5 NA 4.2 6.9 17.5
3 1001 3 25 12 33.7 187.7 286.5 386.7 NA 16.2 46.0 48.8 43.1
4 1001 3 26 0 88.6 129.4 NA NA
2007 Oct 04
5
A rebel boxplot question
Dear R list members
I am trying to improve a boxplot with 2 data sets. I run somethinkg like
boxplot(data1 ~ month, add=F, col = "red", ...)
boxplot(data2 ~ month, add=T, col = "blue", ...)
The problem is that the data from February are missing for data2, so R
think that must take little more space between the data classes in data 2
and then both data gropus are not aligned.
2007 Dec 15
2
Using boxplot in a daily time series
Hi all,
I'm trying to plot my daily time series, with 3650 observations( 10 years), with boxplot but I want 12 boxes, one for each month, can anyone help me doing that.
Best regards
2009 Mar 16
2
Calculate across columns
I'd like to perform some calculations across a series of columns. Is there an
easy way to do so? For example, I'd like to calculate the maximum value from
columns 6-42. Although I can use, say:
pmax(data[,6],data[,7],data[,8], etc.), I'd prefer to be able to do
something like
pmax(data[,6:42]). Unfortunately, doing so returns 36 columns.
Thanks,
Tim
--
View this message in
2009 Apr 21
3
ggplot2 - boxplot of variables / columns
Hi,
ggplot/qplot is great - it has really helped me do some nice things.
However, simple boxplot of different columns/variables is a bit
tricky, because of (i think) qplot's generic Y conditional on X input
form. Se below.
# Some data:
a <- rnorm(100)
b <- rnorm(100,1,2)
c <- rnorm(100,2,0.5)
# normal boxplot of a,b,c
boxplot(a,b,c) # Looks good
library(ggplot2) # loads qqplot2
#
2008 Feb 27
1
ggplot2 boxplot confusion
Ultimately my aim is to get a plot of density faceted by 2 factors with a
horizontal boxplot overlaid on each density plot in the grid to indicate
summary stats. So I've been experimenting with creating boxplots and density
plots. Here's some representative data.
series = c('C2','C4','C8','C10','C15','C20')
ids =
2009 Aug 12
1
A function for plotting a boxplot with added dot and bars (for mean and SE) - please help improve my code
Hello people,
A while back I wanted to plot boxplots with interactions that will have a
dot for the mean of the sample + bars for the SE.
After searching for some code, I found something that did it for one level,
but couldn't find something that will allow for interactions the way the
original boxplot does.
After playing with the original code, I found a way for allowing the boxplot
code to
2009 Sep 29
2
ggplot2 box plot notches
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=mpg, geom="boxplot",
position="dodge")+theme_bw()
Thank you for you help!
2008 Aug 05
4
LIDAR Problem in R (THANKS for HELP)
Hi All,
I am a PhD student in forestry science and I am working with LiDAR data set
(huge data set). I am a brand-new in R and geostatistic (SORRY, my
background it?s in forestry) but I wish improve my skill for improve myself.
I wish to develop a methodology to processing a large data-set of points
(typical in LiDAR) but there is a problem with memory. I had created a
subsample data-base but
2009 Oct 13
2
multiple groups with different colors in boxplot
Can anybody help me on how to boxplot multiple groups with different color?
Say, I have 3 groups of data, each group with 2 boxes, and I'd like to have
the following layout in the boxplot:
red, red, green, green, blue, blue
thanks in advance.
--
View this message in context: http://www.nabble.com/multiple-groups-with-different-colors-in-boxplot-tp25867267p25867267.html
Sent from the R help
2004 Mar 01
3
boxplot notches
Dear list members,
Can anyone tell me how the notches in boxplot(Y~X,notch=T) are
calculated? What do these notches represent exactly? I?d suppose they
are Conficence Intervals for the median, but I?ve also been told they
might show Least Significant Difference (LSD) equivalents.
I would very much appreciate any help from you.
Best regards
Chris.
2008 Apr 11
2
Questions related to plotting boxplots of time series data
List,
I have looked through several R books and searched the web to find
answers to my questions with no results. I have a ensembles of time
series data (essentially from Monte Carlo simulations) which I would
like to summarize as a time series of boxplots. I don't know how to do
this and I am not sure how I should structure the data to get what I
want. Another related question: while
2004 Sep 23
3
"moving average" method for time series objects
Dear R-Help readers,
I suspect that this question must be a FAQ, but my investigation of the archives has not been very revealing. Is there an R function for calculating moving averages of time series objects?
Thank you for your time and patience.
-Paul
Paul Schwarz, Ph.D.
Associate Director of Methodology
Gartner
Vendor Marketing Solutions, Custom Research
+1 503 241 8036 x186
2008 Aug 21
3
Boxplot 5% and 95% quantile instead of 25% and 75%
Hi,
I'm new to the whole R-thing as a replacement for Matlab, not disappointed sofar ;)
I found out how to make nice looking boxplots, but i also would like the make a boxplot with 5% and 95% instead of the standard 25 and 75% quantiles.
My csv input looks something like:
LOCATION FILTER NR DATE VALUE MONTH
Peelhorst01 1 14-Jan-94 23.07 1
Peelhorst01 1 28-Jan-94 23.68 1
Peelhorst01 1
2006 Apr 28
2
How to get a grid behind a boxplot
I am using R 2.2.1 on a Windows 2000 PC.
When I do a grid() after the boxplot
it overprints the boxplot:
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
> grid(nx=NA, ny=NULL)
>
if I try the panel.first
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray",
+ panel.first=grid(nx=NA, ny=NULL))
>
I can see the grid flash
2011 Jan 26
1
boxplot - code for labeling outliers - any suggestions for improvements?
Hello all,
I wrote a small function to add labels for outliers in a boxplot.
This function will only work on a simple boxplot/formula command (e.g:
something like boxplot(y~x)).
Code + example follows in this e-mail.
I'd be happy for any suggestions on how to improve this code, for example:
- Handle boxplot.matrix (which shouldn't be too hard to do)
- Handle cases of complex
2011 Aug 09
1
monthly boxplot
I'm trying to make a monthly boxplot using this:
boxplot(varmeasure ~ vardates)
vardates = [1] 10/1/2010 10/1/2010 10/1/2010 10/1/2010 10/1/2010 10/1/2010
10/1/2010
[8] 10/1/2010 10/1/2010 11/1/2010 11/1/2010 11/1/2010 11/1/2010 11/1/2010
....
varmeasure = [1] 0.0 26.0 0.2 -0.2 -1.2 -0.8 0.0 4.4 -0.6
-0.2 14.4 -0.2
[13] 4.8 4.0 2.8 3.2 3.8 3.2 -11.4 0.2 0.4
2011 Apr 17
3
Box plot with 5th and 95th percentiles instead of 1.5 * IQR: problems implementing an existing solution...
Hi all,
I'm just getting started with R and I would appreciate some help. I'm having
trouble creating a boxplot with whiskers at the 95th and 5th percentiles
instead of at 1.5 * IQR. I have read the relevant documentation, and checked
existing mails on this topic. I found a small modification that should work
: https://stat.ethz.ch/pipermail/r-help/2001-November/016817.html and tried
to