Re: [R] Merging multiple columns into one column

2012-09-30 Thread Stephen Politzer-Ahles
iday, September 28, 2012 5:51 PM > Subject: [R] Merging multiple columns into one column > > Good Evening- > I have a dataframe that has 10 columns that has a header and 7306 rows in > each column, I want to combine these columns into one. I utilized the stack > function but it o

Re: [R] Merging multiple columns into one column

2012-09-29 Thread arun
15.18364 #3 14.16437 #4 16.59528 #5 15.32951 #6 14.17953 A.K. - Original Message - From: Meredith Ballard LaBeau To: r-help@r-project.org Cc: Sent: Friday, September 28, 2012 5:51 PM Subject: [R] Merging multiple columns into one column Good Evening- I have a dataframe that has 10 column

Re: [R] Merging multiple columns into one column

2012-09-28 Thread Bert Gunter
?unlist (A data frame is a list, as ?data.frame explains. Also the Intro to R tutorial, which should be read by everyone beginning with R). -- Bert On Fri, Sep 28, 2012 at 2:51 PM, Meredith Ballard LaBeau wrote: > Good Evening- > I have a dataframe that has 10 columns that has a header and 730

Re: [R] Merging multiple columns into one column

2012-09-28 Thread David Winsemius
On Sep 28, 2012, at 2:51 PM, Meredith Ballard LaBeau wrote: > Good Evening- > I have a dataframe that has 10 columns that has a header and 7306 rows in > each column, I want to combine these columns into one. I utilized the stack > function but it only returned 3/4 of the data...my code is: > whe

[R] Merging multiple columns into one column

2012-09-28 Thread Meredith Ballard LaBeau
Good Evening- I have a dataframe that has 10 columns that has a header and 7306 rows in each column, I want to combine these columns into one. I utilized the stack function but it only returned 3/4 of the data...my code is: where nfcuy_bw is the dataframe with 7305 obs. and 10 variables Once I app