On 13-02-12 5:18 AM, Robert Latest wrote:
Hi guys,

like so often, the answert came to me minutes after posting. pmatch()
does exactly what I need. match() gives the values of the elements,
but not their positions.

I think you should read the docs more closely. match() does what you need; pmatch() does partial string matching.

Duncan Murdoch

______________________________________________
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.

Reply via email to