[R] Where is element 30?
MacQueen, Don
macqueen1 at llnl.gov
Wed Oct 23 22:24:46 CEST 2013
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" <pdalgd at 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.mes at cbs.dk Priv: PDalgd at gmail.com
>
>
>
>
>
>
>
>
More information about the R-help
mailing list