Displaying 1 result from an estimated 1 matches for "tp2278863p2279385".
2010 Jul 06
1
information reduction-database management question
...in, na.rm=T)
## Can loop this over all columns;
new<-matrix(0,5,2)
for (i in 3:7)
{datum[,i][is.na(datum[,i])==T]<-5
new[i-2,]<-tapply(datum[,i], datum$site, min, na.rm=T)}
--
View this message in context: http://r.789695.n4.nabble.com/information-reduction-database-management-question-tp2278863p2279385.html
Sent from the R help mailing list archive at Nabble.com.