timeplot | R Documentation |
Like the grayplot()
function, but with the x-axis having date/times
timeplot(x, y, ..., n = 5, scale = NULL, format = NULL)
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 |
None.
time_axis()
, grayplot()
, dotplot()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.