Hi!
That should do it:
yourtime$min+yourtime$hour*60
In case your object is of class POSIXlt. Otherwise, convert it with
as.POSIXlt first.
Miguel
On Mon, Mar 15, 2010 at 3:57 PM, Carlos Nader
<tamanduabandeira@gmail.com>wrote:
> Hi there!
>
> I have some data in POSIXlt format:
>
> 2009-07-18 5:53:00
> 2008-11-23 7:27:00
> 2008-11-24 5:25:00
>
> and would like to extract information about only the minutes of the day,
> like:
>
> 5:53 --> 353 minutes
> 7:27 --> 447 minutes
>
> can you help me?
>
> Carlos Nader
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]