plot.sftime | R Documentation |
sftime
objectplot.sftime
## S3 method for class 'sftime'
plot(x, y, ..., number = 6, tcuts)
x |
The |
y |
A character value; The variable name to be plotted; if missing, the first variable is plotted. |
... |
Additional arguments; Passed on to |
number |
A numeric value; The number of panels to be plotted, cannot be
larger than the number of timestamps; ignored when |
tcuts |
predefined temporal ranges assigned to each map; if missing,
will be determined as equal spans according to |
Returns NULL
and creates as side effect a plot for x
.
set.seed(123)
coords <- matrix(runif(100), ncol = 2)
g <- st_sfc(lapply(1:50, function(i) st_point(coords[i, ]) ))
sft <- st_sftime(a = 1:50, g, time = as.POSIXct("2020-09-01 00:00:00") + 0:49 * 3600 * 6)
plot(sft)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.