Displaying 1 result from an estimated 1 matches for "tp3551598p3551598".
2011 May 26
2
What am I doing wrong with sapply ?
...bl[,1]))
x <-tbl
v <- gregexpr("( aka )|( AKA )",x$Address)
s <-sapply(unlist(v[c(1:length(v))]), max)
v1 <-numeric(length(v))
for(i in 1 :length(v)) v1[i] <- max(unlist(v[i]))
--
View this message in context: http://r.789695.n4.nabble.com/What-am-I-doing-wrong-with-sapply-tp3551598p3551598.html
Sent from the R help mailing list archive at Nabble.com.