Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
At the moment, the help documentation for
%between%states thatWhile this appears to be true for numeric vectors, for character vectors,
NAis not treated as a missing bound and yieldsNA, as seen below, and this difference is not noted in the documentation. Since (theoretically) the lexicographic order is a total order, one might expect the same or similar behavior unless indicated otherwise, and the documentation appears to imply this, given it does not mention character vectors are treated differently. The different behavior on character vectors should probably be either (a) documented if this is intended or (b) altered to treatNAas a missing bound (as with numeric vectors).#Minimal reproducible example]#Output of sessionInfo()data.tablepackage is the most recent stable development version pulled today usinginstall.packages.