Learn R Programming

healthcareai (version 1.2.4)

calculateHourBins: Calculate a vector of reasonable time bins

Description

Given a number of hours, generate a reasonable vector of bins in hours such that the first day is divided into multiple days are divided into 24 h bins up to 90 days worth. Typically used with featureAvailabilityProfiler

Usage

calculateHourBins(lastHourOfInterest)

Arguments

lastHourOfInterest

Number (hour) scalar representing the last hour of interest

Value

numeric vector of hours, reasonably spaced

References

http://healthcareai-r.readthedocs.io

See Also

healthcareai result <- calculateHourBins(90) result