Sincere thanks to Jim Holtman and J. Hosking for their suggestions. both their solutions work perfectly, in particular the "findInterval" function is what I was looking for.
Cheers. Mahesh Krishnan ______________________________________________ [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 and provide commented, minimal, self-contained, reproducible code.
