> (2) Is there a more simpler way to build the vector of positions (versus > using append in a loop, as above), using functions such as match() and > apply()?
How about which.na <- function(x) which(is.na(x)) ? Hadley ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
