Displaying 1 result from an estimated 1 matches for "tp24723210p24723210".
2009 Jul 29
3
how to skip a numeric column for averaging other columns?
...-10)
> apply(raw_data,2,mean)
Error in Math.data.frame(list(sample_id = c(1L, 2L, 3L, 4L, 5L, 6L, 7L, :
non-numeric variable in data frame: sample_id
Thank you in advance,
Jin
--
View this message in context: http://www.nabble.com/how-to-skip-a-numeric-column-for-averaging-other-columns--tp24723210p24723210.html
Sent from the R help mailing list archive at Nabble.com.