oops. Thank you for the correction.

-Don

-- 
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062





On 10/23/13 12:30 PM, "peter dalgaard" <pda...@gmail.com> wrote:

>
>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: pd....@cbs.dk  Priv: pda...@gmail.com
>
>
>
>
>
>
>
>

______________________________________________
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