search for: invasion2

Displaying 3 results from an estimated 3 matches for "invasion2".

Did you mean: invasion
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
...plus a default.? Each calls either graphics::matplot 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.POS...
2020 Jan 28
0
matplot.Date & matplot.POSIXct
...lf, but just, conceptually, by ensuring *not* to change 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,...