Re: [R] NA problem in rbind of an apply summary

2014-12-11 Thread Raffaello Vardavas
Thank you Karim, I'll try that. Thanks! Raff Sent from my iPhone > On Dec 10, 2014, at 1:48 PM, "Karim Mezhoud" wrote: > > Hi, > Could you try rbind.na.R function. > karim > > Ô__ > c/ /'_;kmezhoud > (*) \(*) ⴽⴰⵔⵉⵎ ⵎⴻⵣⵀⵓⴷ > http://bioinformatics.tn/ > > > >> On Wed, Dec 10, 2014

Re: [R] NA problem in rbind of an apply summary

2014-12-10 Thread Karim Mezhoud
Hi, Could you try rbind.na.R function. karim Ô__ c/ /'_;kmezhoud (*) \(*) ⴽⴰⵔⵉⵎ ⵎⴻⵣⵀⵓⴷ http://bioinformatics.tn/ On Wed, Dec 10, 2014 at 10:34 PM, Raffaello Vardavas wrote: > Dear All, > > I have a data fame. Each column has numerical values but some columns may > have NA values. >

[R] NA problem in rbind of an apply summary

2014-12-10 Thread Raffaello Vardavas
Dear All, I have a data fame. Each column has numerical values but some columns may have NA values. I'd like a table showing the summary statistics for each column. This is what I do: I first do the following: apply(df[,metrics],2,summary,na.rm=T) giving: $degree Min. 1st Qu. MedianM