Re: [R] Zoo and numeric data

2009-08-12 Thread Gabor Grothendieck
See zoo-faq number 4: vignette("zoo-faq") On Wed, Aug 12, 2009 at 4:46 AM, Mark Breman wrote: > Hi, > I have a csv file with different datatypes: > > 2009-01-01, character1, 10, 20.1 > 2009-01-02, character2, 11, 21.1 > > (I have attached the file to this post) > > I read this file with read.zoo

Re: [R] Zoo and numeric data

2009-08-12 Thread Achim Zeileis
On Wed, 12 Aug 2009, Mark Breman wrote: Hi, I have a csv file with different datatypes: 2009-01-01, character1, 10, 20.1 2009-01-02, character2, 11, 21.1 (I have attached the file to this post) I read this file with read.zoo as I want a zoo/xts timeseries: t = read.zoo("./data.txt", sep=",",

[R] Zoo and numeric data

2009-08-12 Thread Mark Breman
Hi, I have a csv file with different datatypes: 2009-01-01, character1, 10, 20.1 2009-01-02, character2, 11, 21.1 (I have attached the file to this post) I read this file with read.zoo as I want a zoo/xts timeseries: > t = read.zoo("./data.txt", sep=",", dec = ".", header=FALSE) If I look at th