Displaying 8 results from an estimated 8 matches for "_localize_tre_t2".
2016 Apr 22
2
subset by multiple letters condition
...contain t2 and PD 6)otherwise 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 23
4
assign color to subsets
...o subsets but I don't know how to use these subsets as the colors of my plot.
data.frame': 36919 obs. of 162 variables
$TE :int 38,41,11,52,48,75,.....
$TR :int 100,210,548,546,.....
$Command :factor W/2229 levels "_localize_PD","_localize_tre_t2","_abdomen_t1_seq","knee_pd_t1_localize"...
and the subsets are names in Command which has t1 or t2 letters:
hast1=grepl("t1", df$Command, fixed=TRUE)
hast2=grepl("t2", df$Command, fixed=TRUE)
the colors I want in my plot are : hast1 a...
2016 Apr 30
3
how to use AND in grepl
...e names from it which contain both "t2" and "pd":
'data.frame': 36919 obs. of 162 variables
$TE :int 38,41,11,52,48,75,.....
$TR :int 100,210,548,546,.....
$Command :factor W/2229 levels "_localize_PD","_localize_tre_t2","_abdomen_t1_seq","knee_pd_t1_localize","pd_local_abdomen_t2"...
I have tried this but I did not get result:
t2pd=subset(df,grepl("t2",Command) & grepl("pd",Command))
does anyone know how to apply AND in grepl?
Thanks
Elahe
2016 Apr 22
0
subset by multiple letters condition
...ise 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
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> h...
2016 Apr 23
1
subset by multiple letters condition
...d PD 6)otherwise 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
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www....
2016 Apr 24
1
assign color to subsets
...ets as the colors of my plot.
> >
> >
> > data.frame': 36919 obs. of 162 variables
> > $TE :int 38,41,11,52,48,75,.....
> > $TR :int 100,210,548,546,.....
> > $Command :factor W/2229 levels
> "_localize_PD","_localize_tre_t2","_abdomen_t1_seq","knee_pd_t1_localize"...
> >
> >and the subsets are names in Command which has t1 or t2 letters:
> >
> >
> >
> > hast1=grepl("t1", df$Command, fixed=TRUE)
> > hast2=grepl("t2", df$Command, fi...
2016 Apr 24
0
assign color to subsets
...these subsets as the colors of my plot.
>>
>>
>> data.frame': 36919 obs. of 162 variables
>> $TE :int 38,41,11,52,48,75,.....
>> $TR :int 100,210,548,546,.....
>> $Command :factor W/2229 levels "_localize_PD","_localize_tre_t2","_abdomen_t1_seq","knee_pd_t1_localize"...
>>
>>and the subsets are names in Command which has t1 or t2 letters:
>>
>>
>>
>> hast1=grepl("t1", df$Command, fixed=TRUE)
>> hast2=grepl("t2", df$Command, fixed=TRU...
2016 Apr 24
0
assign color to subsets
...on't know how to use these subsets as the colors of my plot.
>
>
> data.frame': 36919 obs. of 162 variables
> $TE :int 38,41,11,52,48,75,.....
> $TR :int 100,210,548,546,.....
> $Command :factor W/2229 levels "_localize_PD","_localize_tre_t2","_abdomen_t1_seq","knee_pd_t1_localize"...
>
>and the subsets are names in Command which has t1 or t2 letters:
>
>
>
> hast1=grepl("t1", df$Command, fixed=TRUE)
> hast2=grepl("t2", df$Command, fixed=TRUE)
>
>
>the colors...