Basic GROUPBYBIN question
The documentation for GROUPBYBIN is pretty sketchy. Here's my question. I have a column with days-to-an-event, integers. I want to bucket them into weeks-to-event, so I use groupbybin(@days-to-event;7). The first category is labeled "0", the second, "7", etc. It's actually hard to tell, but I think "0" means 0-6, "7" means 7-13, etc. Am I correct?
-
Official comment
Steve, your assumptions are correct about the GROUPBYBIN function. The "7" designates the size of the buckets in the resulting groupings: 0-6, 7-13, 14-20, etc.
Comment actions
Please sign in to leave a comment.
Comments
2 comments