search for: tp3526332p3526332

Displaying 1 result from an estimated 1 matches for "tp3526332p3526332".

2011 May 16
2
conditional rowsums in sapply
...function(x) ifelse(any(!is.na(dfrm[ ,grep(x, names(dfrm))])), rowSums(dfrm[ ,grep(x, names(dfrm)),drop=FALSE],na.rm=TRUE),NA)) and it doesn't work. Can someone please help me? Thanks in advance. -- View this message in context: http://r.789695.n4.nabble.com/conditional-rowsums-in-sapply-tp3526332p3526332.html Sent from the R help mailing list archive at Nabble.com.