Thanks to Marc and Duncan for setting me straight. I guess the piece of
the puzzle that I was overlooking is the fact that lexicographic
ordering for string comparison depends on locale.
It would also have helped me a bit if I'd done the RTFM thing and looked
at ?"<" !!!
Thanks again.
c
On 26/02/2020 8:09 p.m., Rolf Turner wrote:
Consider the following:
x <- letters[1:5]
x < 0
This gives
[1] FALSE FALSE FALSE FALSE FALSE
which kind of makes sense, I guess, though I would a priori have
expected all NAs.
But then do:
x[3] <- "*"
x < 0
This gives
[1] FALSE FALSE TRUE F
> On Feb 26, 2020, at 8:09 PM, Rolf Turner wrote:
>
>
> Consider the following:
>
> x <- letters[1:5]
> x < 0
>
> This gives
>
>> [1] FALSE FALSE FALSE FALSE FALSE
>
> which kind of makes sense, I guess, though I would a priori have expected all
> NAs.
>
> But then do:
>
> x[3] <- "*"
>
Consider the following:
x <- letters[1:5]
x < 0
This gives
[1] FALSE FALSE FALSE FALSE FALSE
which kind of makes sense, I guess, though I would a priori have
expected all NAs.
But then do:
x[3] <- "*"
x < 0
This gives
[1] FALSE FALSE TRUE FALSE FALSE
which puzzles me. Why is "*"
Sorry I used limits in code and need to focus on both limits and breaks.
On Wed, Feb 26, 2020 at 9:51 AM pooja sinha wrote:
> Hi All,
>
> I have a data as shown below:
> TF YT_YC MT_MC AT_AC
> GRHL2 1e-2597 1e-2789 1.00E-281
> Srebp1a 1e-1860 1e-1744 1e-944
> EWS:ERG 1e-1831 1e-2127 1e-548
> EWS
Hi All,
I have a data as shown below:
TF YT_YC MT_MC AT_AC
GRHL2 1e-2597 1e-2789 1.00E-281
Srebp1a 1e-1860 1e-1744 1e-944
EWS:ERG 1e-1831 1e-2127 1e-548
EWS:FLI1 1e-1580 1e-1937 1.00E-166
NFAT 1e-1418 1e-2224 1e-761
Sox4 1e-1410 1e-1839 1.00E-246
PU.1-IRF 1e-1361 1e-3661 1e-1380
Sox2 1e-1114 1e-12
6 matches
Mail list logo