timeplot {broman} | R Documentation |
Scatterplot with date/times on the x-axis
Description
Like the grayplot()
function, but with the x-axis having date/times
Usage
timeplot(x, y, ..., n = 5, scale = NULL, format = NULL)
Arguments
x |
X-axis coordinates of points for the plot (must be date/time values) |
y |
Y-axis coordinates of points for the plot |
... |
Optional graphics arguments passed to |
n |
Approximate number of x-axis labels (passed to |
scale |
Passed to |
format |
Passed to |
Value
None.
See Also
time_axis()
, grayplot()
, dotplot()
Examples
n <- 100
y <- rnorm(n)
x <- seq(as.POSIXct("2024-05-01 11:23"), as.POSIXct("2024-05-01 14:50"), length.out=n)
timeplot(x, y)
[Package broman version 0.84 Index]