Displaying 3 results from an estimated 3 matches for "earlyus".
Did you mean:
early
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
...atplot or matlines
as appropriate after first setting up the horizontal axis properly if x
is of class Date or POSIXct.
????? For specific examples, consider the following taken from
fda::matplot.Rd:
invasion1 <- as.Date('1775-09-04')
invasion2 <- 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-0...
2020 Jan 28
0
matplot.Date & matplot.POSIXct
...the S3 class of 'x' before calling
plot(), points() and lines() ....
> ????? For specific examples, consider the following taken from
> fda::matplot.Rd:
> invasion1 <- as.Date('1775-09-04')
> invasion2 <- 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...