search for: posixct1970

Displaying 4 results from an estimated 4 matches for "posixct1970".

2020 Jan 23
2
matplot.Date & matplot.POSIXct
Hello, All: ????? Roughly a decade ago, I added "matplot.Date" and "matplot.POSIXct" to the "fda" package, so we could get reasonable labeling of the horizontal axis when "x" was class "Date" or "POSIXct".? I also added a local version of "matplot.default" that just changes the defaults for "xlab" and
2020 Jan 28
4
matplot.Date & matplot.POSIXct
...on2 <- as.Date('1812-07-12') earlyUS.Canada <- c(invasion1, invasion2) Y <- matrix(1:4, 2, 2) graphics::matplot(earlyUS.Canada, Y) # horizontal axis labeled per as.numeric(earlyUS.Canada), # NOT as Dates fda::matplot(earlyUS.Canada, Y) # problem fixed. # POSIXct AmRev.ct <- as.POSIXct1970(c('1776-07-04', '1789-04-30')) graphics::matplot(AmRev.ct, Y) # horizontal axis labeled per as.numeric(AmRev.ct), # NOT as POSIXct fda::matplot(AmRev.ct, Y) # problem fixed. ????? Comments? ????? Thanks again for the reply. ????? Spencer Graves > > B.
2020 Jan 28
0
matplot.Date & matplot.POSIXct
..., invasion2) > Y <- matrix(1:4, 2, 2) > graphics::matplot(earlyUS.Canada, Y) > # horizontal axis labeled per as.numeric(earlyUS.Canada), > # NOT as Dates > fda::matplot(earlyUS.Canada, Y) > # problem fixed. > # POSIXct > AmRev.ct <- as.POSIXct1970(c('1776-07-04', '1789-04-30')) > graphics::matplot(AmRev.ct, Y) > # horizontal axis labeled per as.numeric(AmRev.ct), > # NOT as POSIXct > fda::matplot(AmRev.ct, Y) > # problem fixed. > ????? Comments? first parts: see above; from there I...
2013 Aug 22
1
From POSIXct to numeric and back with time zone
From POSIXct to numeric and back with time zone I am running regressions on data which has time series with different time resolution. Some data has hourly resolution, while most has either daily or weekly resolution. Aggregation is used to make the hourly data daily, while liner interpolation is used to find daily data from the weekly time series. This data manipulation requires some careful