Re: [R] How to combine data columns to a single column

2010-05-27 Thread Gabor Grothendieck
On Wed, May 26, 2010 at 10:51 PM, Gabor Grothendieck wrote: > This is a time series so its best to represent it as such using a ts > object.  Below tt is the vector of data you asked for and tt.ts is the > same vector converted into a ts series: > > Lines <- "Year 1903 1904 1905 1906 > Jan 125.0 3

Re: [R] How to combine data columns to a single column

2010-05-27 Thread Zablone Owiti
: +86-25-58731456 Mob. 15077895632 Website: www.nuist.edu.cn From: "Dennis Murphy" Sent: Thursday, May 27, 2010 4:09 PM To: "Gabor Grothendieck" Subject: Re: [R] How to combi

Re: [R] How to combine data columns to a single column

2010-05-26 Thread Gabor Grothendieck
This is a time series so its best to represent it as such using a ts object. Below tt is the vector of data you asked for and tt.ts is the same vector converted into a ts series: Lines <- "Year 1903 1904 1905 1906 Jan 125.0 30.0 113.0 5.0 Feb 128.0 100.0 70.0 388.0 Mar 155.0 79.0 230.0 323.0 Apr

[R] How to combine data columns to a single column

2010-05-26 Thread Zablone Owiti
Dear users, I have several columns of data (each column containing monthly data for a particular year from january - december) . I would wish to combine the columns to get a Single column of continuous data as shown in (b) below. I have read this data as table in R (a) Data example Year