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 <-
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'
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'
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,
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,
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
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+
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
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
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
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
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
--
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
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
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]]
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
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
17 matches
Mail list logo