Am 12.02.2013 11:09 (UTC+1) schrieb Robert Latest: > x <- c(4,5,6) > y <- c(10,1,5,12,4,13,14)
Please try #match(x,y) [1] 5 3 NA HTH, Rainer Hurling ______________________________________________ R-help@r-project.org 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.