Description Usage Arguments Value Author(s) Examples
Less than function that matches Matlab behaviour when one of the arguments is NA (i.e. returns FALSE instead of NA)
1 |
a |
A numeric value (including Inf) or NA |
b |
A numeric value (including Inf) or NA |
Logical: TRUE if a < b, FALSE if a >= b OR if one of a, b is NA or NaN
Catalina Anghel
1 2 3 4 5 6 7 8 9 10 11 12 | ISOpure.util.matlab_less_than(5,3)
#[1] FALSE
ISOpure.util.matlab_less_than(3,5)
#[1] TRUE
ISOpure.util.matlab_less_than(5,NA)
#[1] FALSE
ISOpure.util.matlab_less_than(NA,5)
#[1] FALSE
ISOpure.util.matlab_less_than(5,Inf)
#[1] TRUE
ISOpure.util.matlab_less_than(Inf,5)
#[1] FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.