Displaying 5 results from an estimated 5 matches for "timeindex".
2013 Mar 21
1
All unique combinations
Dear all,
I would like to have all unique combinations in the following matrix
TimeIndex<- rbind (c(1,"Week_of_21_07-29_03"),
c(2,"Thursday_21_03"),
c(3,"Friday_22_03"),
c(4,"Saturday_23_03"),
c(5,"Sunday_24_03"),
c(6,"Monday_25_03"),
c(7,"Tuesday_26_03"...
2001 Jul 05
3
plotting time
Hi, all. I'm trying to create a plot that has a range of about an
hour on the x axis, starting at about 10:15.
I have a way I'm currently doing it but it's not working. this is
what I want on the x axis:
|
|
|
|
|
|
|
|
|
|
----------------------------------------------
10:15 10:25 10:35 10:45 10:55 11:05 11:15
what's the best way to plot this out like this?
currently,
2011 Sep 22
2
the opposite of lag() in panel data
Hi R-helpers
I want a function that performs the opposite of lag() with panel data.
I have transformed my data before with pdata.frame(mydata,
index=c("groupindex", “timeindex"))
And then I’ve done lag(mydata, -1) but it doesn’t work.
The error message was:
Error in rep(1, ak) : invalid ''times'' argument
Thank you in advance,
Cecília Carmo
[[alternative HTML version deleted]]
2009 Aug 12
1
CCF for hourly time series?
...(x,y)
theta<-cbind(x,z)
ccf(ts(mat1[,4]),ts(mat1[,j]),lag.max=24,type='correlation',na.action=na.pass)
that gives me "error in na.fail.default(as.ts(x)):missing values in object"
In order to create the data frame I already intersected different time series so I know that the timeindex is the same for all rows and missing values were replaced by NA.
Does that already impede creating a ts-object?
Is there another possibility to perform the cross-correlation?
Thanks in advance,
Katharina
--
___________________
Katharina Appel
Gro?e Weinmeisterstra?e 30
14469 Potsdam
Tel.: 0331...
2010 Jun 08
2
Extract/format/show for S4 objects
Hi all,
I'm trying to make an integer-backed quarter (as in fraction of year)
class, but I can't quite it to work. I want integer-backed so I don't
have to worry about floating-point effects when doing math, and so that
I can use it as in data.table.
First of all, is there a good reference for this anywhere? All of the
S4 tutorials that I've found have been too high-level, and