Re: [R] How to Store the executed values in a dataframe rle function

2011-09-29 Thread viritha k
','numeric')) as you have in your email. I used 'x' in my code, so I replaced your 'm' with 'x'. Try it and see if it works; no reason it shouldn't. On Wed, Sep 28, 2011 at 3:03 PM, viritha k virith...@gmail.com wrote: Hi Jim, Thanks for the reply, ok but I dont want to use textConnection

Re: [R] How to Store the executed values in a dataframe rle function

2011-09-28 Thread viritha k
Hi, This is the code that I wrote for 3 samples: code: m-read.table(test.txt,sep='\t',header=TRUE,colClasses=c('character','integer','integer','numeric','numeric','numeric'))

Re: [R] How to Store the executed values in a dataframe rle function

2011-09-28 Thread viritha k
, Suji On Wed, Sep 28, 2011 at 2:40 PM, jim holtman jholt...@gmail.com wrote: The solution that I sent will handle the 150 different samples; just list the column names in the argument to the top 'lapply'. You don't need the 'rle' in my approach. On Wed, Sep 28, 2011 at 2:13 PM, viritha k