Message-ID: <e6f0ce18-7272-b934-51b0-839779996d41@syonic.eu>
Date: 2021-09-17T21:44:58Z
From: Leonard Mada
Subject: Improvement: function cut
Hello List members,
the following improvements would be useful for function cut (and .bincode):
1.) Argument: Include extremes
extremes = TRUE
if(right == FALSE) {
?? # include also right for last interval;
} else {
?? # include also left for first interval;
}
2.) Argument: warn = TRUE
Warn if any values are not included in the intervals.
Motivation:
- reduce risk of errors when using function cut();
Sincerely,
Leonard