Re: [R] zoo column names

2011-05-26 Thread Pete Brecknock
Gabor Grothendieck wrote: > > On Thu, May 26, 2011 at 7:35 PM, Pete Brecknock > wrote: >> I have a zoo object that contains 2 time series named "A-B" and "V1". >> >> When I create a third series "V2", the name of the "A-B" series is >> changed >> to "A.B". >> >> Although

Re: [R] zoo column names

2011-05-26 Thread Gabor Grothendieck
On Thu, May 26, 2011 at 7:35 PM, Pete Brecknock wrote: > I have a zoo object that contains 2 time series named "A-B" and "V1". > > When I create a third series "V2", the name of the "A-B" series is changed > to "A.B". > > Although I could recreate the names for the 3 series I am wondering if there

[R] zoo column names

2011-05-26 Thread Pete Brecknock
I have a zoo object that contains 2 time series named "A-B" and "V1". When I create a third series "V2", the name of the "A-B" series is changed to "A.B". Although I could recreate the names for the 3 series I am wondering if there is a way of preventing the name change from happening ( ... may

Re: [R] zoo column names

2011-01-08 Thread Pete B
Achim Thanks. Much appreciated. Best regards Pete -- View this message in context: http://r.789695.n4.nabble.com/zoo-column-names-tp3205568p3205584.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list h

Re: [R] zoo column names

2011-01-08 Thread Achim Zeileis
On Sat, 8 Jan 2011, Pete B wrote: Hi All I am trying to find a way to prevent column names from changing on zoo objects when I merge them. I have column names that contain a "-" that after merging have become "." # Example zz1 = zoo(as.matrix(1:5)) zz2 = zoo(as.matrix(10:12)) names(zz1)=c("

[R] zoo column names

2011-01-08 Thread Pete B
Hi All I am trying to find a way to prevent column names from changing on zoo objects when I merge them. I have column names that contain a "-" that after merging have become "." # Example zz1 = zoo(as.matrix(1:5)) zz2 = zoo(as.matrix(10:12)) names(zz1)=c("aa-1") names(zz2)=c("bb-1") zz3=merg