[R] grep command

Hervé Pagès hpages at fredhutch.org
Tue May 3 19:09:55 CEST 2016


On 05/03/2016 06:05 AM, Jeff Newmiller wrote:
> Isn't that just an inefficient way to do
>
> "age" == x

Yep, it's an inefficient way to do which(x == "age").

H.

>
> ?
>

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fredhutch.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the R-help mailing list