r in that order???
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 5/21/12 7:33 AM, "carol white" wrote:
>like searching m or [m,n] in [1,n,m,e,m,n,n,u].
>
>I want the exact match of all occurrences of m a
gt; Cheers,
>
> Carol
>
>
>
> From: Ista Zahn
>
> Cc: "r-h...@stat.math.ethz.ch"
> Sent: Monday, May 21, 2012 3:38 PM
> Subject: Re: [R] all occurences of an element in a vector
>
> Hi Carol,
>
> I'm not sure wh
t;r-h...@stat.math.ethz.ch"
Sent: Monday, May 21, 2012 3:38 PM
Subject: Re: [R] all occurences of an element in a vector
Hi Carol,
I'm not sure what a "sub-vector in a vector" is, but I think you might
be looking for ?grep
Best,
Ista
> Hi,
> How do you identify all occurences of
Hi Carol,
I'm not sure what a "sub-vector in a vector" is, but I think you might
be looking for ?grep
Best,
Ista
On Mon, May 21, 2012 at 9:20 AM, carol white wrote:
> Hi,
> How do you identify all occurences of an element or a sub-vector in a vector
> as opposed to match, %in%, and intersect w
Hi,
How do you identify all occurences of an element or a sub-vector in a vector as
opposed to match, %in%, and intersect which find the first occurrence of an
element?
Cheers,
Carol
[[alternative HTML version deleted]]
__
R-help@r-project.o
5 matches
Mail list logo