powered by
sftime
Prints an sftime object
# S3 method for sftime print(x, ..., n = getOption("sf_max_print", default = 10))
x (invisible).
x
An object of class sftime.
Currently unused arguments, for compatibility.
Numeric value; maximum number of printed elements.
g <- st_sfc(st_point(c(1, 2)), st_point(c(1, 3)), st_point(c(2, 3)), st_point(c(2, 1)), st_point(c(3, 1))) tc <- Sys.time() + 1:5 x <- st_sftime(a = 1:5, g, time = tc) print(x) print(x[0, ])
Run the code above in your browser using DataLab