Displaying 1 result from an estimated 1 matches for "tp3256237p3256670".
2011 Feb 03
0
Select just numeric values from rows
...1 1 3 5 5 5 7 6 6 12
Pears Kiwis Grapes 2 4 6 8 5 6 7 6 9 1"
d = read.table(textConnection(list), header=TRUE)
Nrowsums = apply(d[,sapply(d,is.numeric)],1,sum)
HTH
Pete
--
View this message in context: http://r.789695.n4.nabble.com/Select-just-numeric-values-from-rows-tp3256237p3256670.html
Sent from the R help mailing list archive at Nabble.com.