Displaying 5 results from an estimated 5 matches for "formattim".
Did you mean:
formattime
2004 Mar 10
1
plot date
I was trying to plot date time vs numeric values.
Number of My date value are about 4000, It is continuous time series, 3 days, the interveal is 5 minutes, (2002-09-22 12:35:00 pm to 2002-09-22 3:40:00 pm) How can i plot it in R?
I tried the regular way:
formattime <- strptime(time, format= "%d-%b-%y %I:%M %p")
plot(formattime, outNum)
However the x axes doen't give me the hours by each three days, instead it is "mon" "tue" etc. What should I do?
Thank you!
---------------------------------
[[alternative HTML ver...
2010 Sep 01
0
problems with JGR and standard R GUI closing during calculations
...ot;,header=TRUE,colClasses=c("character",
"numeric"))
dat$times <- as.chron(dat$times,patt)
dat
}
## to get activation diameters
getDact <- function(size,perc,fccn) approx(perc,size,(1-fccn)*100)$y
## format times for output
formatTimes <- function (x, patt = "%m/%d/%Y %H:%M:%S") {
posixtime <- as.POSIXct(paste(as.Date(dates(x)), times(x)%%1))
format(posixtime, patt)
}
###import data ***(where the GUI will close)****
smps <- read.smps("SMPS_OL_cuml_v2.txt")
fccn <- read.fCCN("fCCN_ONLY_f...
2017 Jul 11
0
Problems with time formats when importing data using readHTMLTable
...8.6 37.36228 -9.176811 200
There's undoubtedly a way to extract the time info from this HTML code (but I'm not the one to provide that solution.) This is the first entry in the webpage source when viewed right now:
<td>
<time class="toggle_time utc_time hide-me formatTime" data-overrideAbbreviation="empty" data-time="1499780737" data-timezone="0"><span>1499780737</span></time><time class="toggle_time my_time hide-me formatTime" data-overrideAbbreviation="MyT" data-time="1499780737&q...
2017 Jul 11
2
Problems with time formats when importing data using readHTMLTable
Dear Jeff,
I am sorry, I didn't notice that it was not plain text. I hope that it
is now in the correct format. I explain the problem again, now with more
detais.
I am collecting the track positions of our research vessel from
www.marinetraffic.com. In the page, the data appear in a table:
Timestamp Source Speed (kn) Latitude (?) Longitude (?)
Course (?) Show on Map
2017 Jul 11
1
Problems with time formats when importing data using readHTMLTable
...0
>
> There's undoubtedly a way to extract the time info from this HTML
> code (but I'm not the one to provide that solution.) This is the
> first
> entry in the webpage source when viewed right now:
>
> <td>
> <time class="toggle_time utc_time hide-me formatTime"
> data-overrideAbbreviation="empty" data-time="1499780737"
> data-timezone="0"><span>1499780737</span></time><time
> class="toggle_time my_time hide-me formatTime"
> data-overrideAbbreviation="MyT" data-tim...