This function converts a vector of POSIXct timestamps into decimal hours,
relative to the first timestamp in profile_datetime.
Usage
posixct_to_decimal(posix_times, profile_datetime)
Arguments
- posix_times
A vector of POSIXct timestamps.
- profile_datetime
A vector containing POSIXct timestamps, where the first element serves as the reference origin.
Value
A numeric vector representing decimal hours since the origin.