Displaying 3 results from an estimated 3 matches for "_localize_t1_seq".
2016 Apr 22
2
subset by multiple letters condition
...e the names would be unknown. I don't know how to use grep for all these conditions.
'data.frame': 36919 obs. of 162 variables
$TE :int 38,41,11,52,48,75,.....
$Command :factor W/2229 levels "_localize_PD","_localize_tre_t2","_localize_t1_seq",...
Thanks for any help
2016 Apr 22
0
subset by multiple letters condition
...quot;PD","t2","t1_seq", "abc", "xyz",
"PD_t1"))
hasPD <- grepl("PD", Command, fixed=TRUE)
hast1 <- grepl("t1", Command, fixed=TRUE)
hast2 <- grepl("t2", Command, fixed=TRUE)
> Command[hast1]
[1] "_localize_t1_seq" "_localize_PD_t1"
> Command[hasPD]
[1] "_localize_PD" "_localize_PD_t1"
> Command[hast1 & hasPD]
[1] "_localize_PD_t1"
Jean
On Fri, Apr 22, 2016 at 8:42 AM, ch.elahe via R-help <r-help at r-project.org>
wrote:
>
> Hi all,
&...
2016 Apr 23
1
subset by multiple letters condition
...quot;PD","t2","t1_seq", "abc", "xyz", "PD_t1"))
hasPD <- grepl("PD", Command, fixed=TRUE)
hast1 <- grepl("t1", Command, fixed=TRUE)
hast2 <- grepl("t2", Command, fixed=TRUE)
> Command[hast1]
[1] "_localize_t1_seq" "_localize_PD_t1"
> Command[hasPD]
[1] "_localize_PD" "_localize_PD_t1"
> Command[hast1 & hasPD]
[1] "_localize_PD_t1"
Jean
On Fri, Apr 22, 2016 at 8:42 AM, ch.elahe via R-help <r-help at r-project.org> wrote:
>Hi all,
>...