if(!naok) {
if(x.indexOfNA() != -1) {
throw new EvalException("NA's in bincode(NAOK=FALSE)");
}
}
IntVector codedVector = new BinCodeVector(x, breaks.toDoubleArray(), !right, include_border, AttributeMap.EMPTY);
ListVector.NamedBuilder result = new ListVector.NamedBuilder();
result.add("code", codedVector);
return result.build();
}