On Oct 23, 2013, at 20:04 , MacQueen, Don wrote:

> Follow these examples:
> 
>> grep(5,1:10)
> [1] 5
> 
>> grep(3, c(1,5,2,3,6))
> [1] 4
> 
> 

Don't:

> grep(5,1:15)
[1]  5 15

-pd
-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: [email protected]  Priv: [email protected]

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

Reply via email to