Re: [Rd] scientific notation and comparison with character variable

2013-01-02 Thread Tobias Verbeke
Thanks and apologies for the noise. Best wishes, Tobias On 01/02/2013 07:43 PM, Joshua Ulrich wrote: It's expected. From ?"<": If the two arguments are atomic vectors of different types, one is coerced to the type of the other, the (decreasing) order of precedence being char

Re: [Rd] scientific notation and comparison with character variable

2013-01-02 Thread Joshua Ulrich
It's expected. From ?"<": If the two arguments are atomic vectors of different types, one is coerced to the type of the other, the (decreasing) order of precedence being character, complex, numeric, integer, logical and raw. > as.character(1e-2) < 0.05 [1] TRUE > as.character