I am running a model that includes a time of day variable. I have tried formatting the time variable as hours-minutes-seconds or universal time with proxitct. Both occasions cause the output of time to change to a numerical value that is not understandable in the context of time.
Example: mod = model.matrix( ̴ factor(CaseControl) + factor(Gender) + factor(Smoker) + Age + Blooddraw_time, data = targets
Output: The column of Blooddrawtime variables now includes: 36900, 33300, 61800, 3300, 68400, 29100, etc, instead of recognisable time values.
Any suggestions as to what has happened here? Jonelle Villar