Discussions
Categories
Groups
Help
Home
User Community
Discussions
Binning Continues Date Time data
unknown
Is there any way in JMP to convert a column of date time (continuous) into categorical data bins (also date time). For example 6 hour bins..?
Accepted answers
All comments
gflex
You can use the Round function to get to the nearest decimal.
If the time (in seconds) is transformed such that your desired units of time are at the decimal place, a round (0) will give the "binning" effect. Then transform back to seconds.
Round( :Time / (60 * 60 * 6), 0 ) * (60 * 60 * 6)
Ceiling or Floor functions could be used in lieu of "Round" for different effects at the decimal point.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of