search for: mar2011stats

Displaying 1 result from an estimated 1 matches for "mar2011stats".

2011 Apr 13
1
Time data
Hello fellow R-users, I have a data set that includes times in the hh:mm format. I am uncertain how to tell R that it is time data. Currently when I try to calculate a mean with this time subset, I get an error message: > mean(mar2011stats$TT) [1] NA Warning message: In mean.default(mar2011stats$TT) : argument is not numeric or logical: returning NA TT is the column label under which I have stored my time data: (for example, 1:24 to represent one hour and twenty four minutes). Do I have to convert everything to minutes so that R...