Hallo

On 8 Sep 2003 at 10:05, [EMAIL PROTECTED] wrote:

> Hi, żExist somewhere as.Time in R, how i cant convert hours in number
> for example: v<-08:00:01 x<-as.Time(v) and x is a integer.Thanks

If you use POSIX format for date and time

v$hour 

will give you hour

If v is a character vector some subsetting function
?substr

can be probably used.


> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Cheers
Petr Pikal
[EMAIL PROTECTED]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to