You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have discovered recently the change introduced in version 1.12.0 regarding between and how NA are now treated.
Given this change may break routines relying on the previous behavior, I was wondering whether in the future a parameter could be introduced so that NA are not treated as missing values but as NA (i.e. would return the same as x >= lower & x <= upper).
Thank you very much
Best,
Cyrille
The text was updated successfully, but these errors were encountered:
install.packages("https://cran.r-project.org/src/contrib/Archive/data.table/data.table_1.11.8.tar.gz")
library(data.table)
between(1:5, 2L, NA, incbounds=TRUE)
#[1] FALSE NA NA NA NA
Dear all,
I have discovered recently the change introduced in version 1.12.0 regarding
between
and howNA
are now treated.Given this change may break routines relying on the previous behavior, I was wondering whether in the future a parameter could be introduced so that
NA
are not treated as missing values but asNA
(i.e. would return the same asx >= lower & x <= upper
).Thank you very much
Best,
Cyrille
The text was updated successfully, but these errors were encountered: