Re: [R] Fwd: R Timeseries tsoutliers:tso

2018-04-13 Thread William Dunlap via R-help
You can record the time to evaluate each line by wrapping each line in a call to system.time(). E.g., expressions <- quote({ # paste your commands here, or put them into a file and use exprs <- parse("thatFile") d.dir <- '/Users/darshanpandya/xx' FNAME <- 'my_data.csv' d.input <-

[R] Fwd: R Timeseries tsoutliers:tso

2018-04-13 Thread Darshan Pandya
Hello, Writing to seek help in regard to some unexpected performance anomaly i am observing in using tsoutlers:tso on the mac vs on an AWS cloud server.. I am running the following code with very small dataset of about 208 records. d.dir <- '/Users/darshanpandya/xx' FNAME <- 'my_data.csv'

[R] R Timeseries tsoutliers:tso

2018-04-12 Thread Darshan Pandya
Hello, Writing to seek help in regard to some unexpected performance anomaly i am observing in using tsoutlers:tso on the mac vs on an AWS cloud server.. I am running the following code with very small dataset of about 208 records. d.dir <- '/Users/darshanpandya/xx' FNAME <- 'my_data.csv'

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

2015-01-30 Thread Jim Lemon
Hi Bastian, While doing the research for sequential event intervals, I found a paper by Dr Andreas Eckner, who studies this topic. I suggest you check his research page: http://www.eckner.com/research.html and I would like to know if you find it helpful. Jim On Fri, Jan 30, 2015 at 9:52 PM,

[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] timeseries highlighting

2012-01-30 Thread Alexy Khrabrov
I'd like to plot a given time series in a primary color but highlight a segment of it in a different color. Is there an elegant way to do it? A+ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] timeseries highlighting

2012-01-30 Thread R. Michael Weylandt
library(zoo) demo(zoo-overplot) Michael On Mon, Jan 30, 2012 at 2:05 PM, Alexy Khrabrov delivera...@gmail.com wrote: I'd like to plot a given time series in a primary color but highlight a segment of it in a different color.  Is there an elegant way to do it? A+

Re: [R] timeseries highlighting

2012-01-30 Thread Gabor Grothendieck
On Mon, Jan 30, 2012 at 2:12 PM, R. Michael Weylandt michael.weyla...@gmail.com wrote: library(zoo) demo(zoo-overplot) Also: library(zoo) example(xblocks) -- Statistics Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com

[R] Timeseries Data Plotted as Monthly Boxplots

2011-02-16 Thread Katrina Bennett
Hello, I'm trying to develop a box plot of time series data to look at the range in the data values over the entire period of record. My data initially starts out as a list of hourly data, and then I've been using this code to make this data into the final ts array. # Read in the station list

Re: [R] Timeseries Data Plotted as Monthly Boxplots

2011-02-16 Thread Thomas Adams
Katrina, What I have done, if I understand what you are after, was to create a list for each month of data - in order. Then, create a boxplot - in order - by month/year. I do this for our ensemble streamflow forecasts. The key us to create the list of values by month. Regards, Tom Sent from

Re: [R] timeseries

2010-07-06 Thread Joris Meys
Difficult to guess why, but I reckon you should use ts() instead of as.ts. Otherwise set the tsp-attribute correctly. Eg : x - cumsum(1+round(rnorm(20),2)) as.ts(x) Time Series: Start = 1 End = 20 Frequency = 1 [1] 0.87 3.51 4.08 4.20 3.25 4.63 6.30 6.89 9.28 9.93 10.19 9.97 10.20

[R] timeseries

2010-07-05 Thread nuncio m
Dear useRs, I am trying to construct a time series using as.ts function, surprisingly when I plot the data the x axis do not show the time in years, however if I use ts(data), time in years are shown in the x axis. Why such difference in the results of both the commands Thanks nuncio --

Re: [R] timeseries

2010-07-05 Thread Jannis
Please have a look at the posting guide of the list. How shall we help you withou an idea of what you have done? Please include reproducible code and sample data! nuncio m schrieb: Dear useRs, I am trying to construct a time series using as.ts function, surprisingly when I plot the data the x

Re: [R] timeseries plot

2010-04-03 Thread vibha patel
Hello, YearERISSRIFTRIDFSRIIFSRITRISRIPSRIERI2 199540.1829.4841.4635.9835.5448.1579.5 11.1526.50120923 199642.9642929.144.0139.3130.4247.5179.78 30.6235.83816143 199744.8585724.4844.92

[R] timeseries plot

2010-04-02 Thread vibha patel
Hello, I am using plot( ) function to plot time-series. it takes time-series object as an argument but i want to plot predicted data with training set, to compare them. is there any function available? Vibha [[alternative HTML version deleted]]

Re: [R] timeseries plot

2010-04-02 Thread Gabor Grothendieck
Here are a few ways: Try this: set.seed(123) TS - ts(1:25 + rnorm(25)) tt - time(TS) tt.pred - end(tt)[1] + 1:10 both - ts(c(TS, predict(lm(TS ~ tt), list(tt = tt.pred ts.plot(both, TS, gpars = list(type = o, col = 2:1, pch = 20)) and read ?ts, ?start, ?ts.plot and next time please provide

[R] timeSeries and aggregation() question

2009-01-21 Thread 00alastair00
Hello, I've a time series, T, for an irregular sequence of days (data for bank holidays weekends have been removed). I would like to aggregate this series by into weeks using aggregate(x, by=weeks, FUN=mean). To do this, I think that x needs to be a timeSeries object, and when I try to call