[R] histogram for time with format hh:mm
Allan Engelhardt
allane at cybaea.com
Thu Jun 18 08:45:34 CEST 2009
On 18/06/09 07:34, Shreyasee wrote:
> Hi,
>
> The dataset has four time variables.
> Each variable has data in "1/6/2006 12:58:55 PM" format.
> I applied the subtraction function (=E2-D2) for calculating difference
> between variable1 and variable2 for each record.
> I copied those values and pasted in another column using "Paste
> special -> values" option.
> Then I imported the dataset into R and tried to plot histogram for
> this new column.
Sounds like you have problems with Excel: this is the wrong mailing list
for that. You should definitely change the formatting of your Excel
difference column, but better to import the dates to R and do the
difference there. But as I said: this is the wrong list for Excel problems.
Allan
More information about the R-help
mailing list