% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scores_nt_fitbit.R
\name{circular_mean_time}
\alias{circular_mean_time}
\title{Computes the circular mean of time-of-day values.}
\usage{
circular_mean_time(time_vec)
}
\arguments{
\item{time_vec}{vector. A vector of time values (typically \code{POSIXct} or
\code{hms}) representing times of day.}
}
\value{
character. A single time value in \code{"HH:MM"} format representing the
circular mean of the input times. Returns \code{NA} if all inputs are missing.
}
\description{
This function calculates an average time while accounting for the circular
nature of clock time. It converts times to angles on the unit circle,
computes the mean direction, and converts the result back to HH:MM format.
}
\keyword{internal}
