len(ncol(time.m)),function(i)
strptime(time.m[,i],"%H:%M:%OS")))
Thanks to all.
Horace
-- Forwarded message --
From: arun
Date: Fri, Apr 26, 2013 at 11:22 AM
Subject: Re: [R] converting character matrix to POSIXct matrix
To: hh wt
Cc: R help
time.m<- as.matrix(rea
I thought this is a common question but rseek/google searches don't yield
any relevant hit.
I have a matrix of character strings, which are time stamps,
> time.m[1:5,1:5]
[,1] [,2] [,3] [,4] [,5]
[1,] "08:00:20.799" "08:00:20.799" "08:00:20.799" "08:0
2 matches
Mail list logo