[R] all values from a data frame

2003-09-05 Thread Arne.Muller
Hello, I've a data frame with 15 colums and 6000 rows, and I need the data in a single vector of size 9 for ttest. Is there such a conversion function in R, or would I have to write my own loop over the colums? thanks for your help + kind regards Arne

RE: [R] all values from a data frame

2003-09-05 Thread Simon Fear
Use unlist. In any case, don't write an explicit loop over the columns. See ?lapply instead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 16:08 To: [EMAIL PROTECTED] Subject: [R] all values from a data frame Security Warning

Re: [R] all values from a data frame

2003-09-05 Thread John Fox
Dear Arne, At 05:07 PM 9/5/2003 +0200, [EMAIL PROTECTED] wrote: Hello, I've a data frame with 15 colums and 6000 rows, and I need the data in a single vector of size 9 for ttest. Is there such a conversion function in R, or would I have to write my own loop over the colums? thanks

Re: [R] all values from a data frame

2003-09-05 Thread partha_bagchi
] Sent by: [EMAIL PROTECTED] 09/05/2003 11:07 AM To: [EMAIL PROTECTED] cc: Subject:[R] all values from a data frame Hello, I've a data frame with 15 colums and 6000 rows, and I need the data in a single vector of size 9 for ttest