print.sftime: Prints an 'sftime' object

View source: R/sftime.R

print.sftimeR Documentation

Prints an sftime object

Description

Prints an sftime object

Usage

## S3 method for class 'sftime'
print(x, ..., n = getOption("sf_max_print", default = 10))

Arguments

x

An object of class sftime.

...

Currently unused arguments, for compatibility.

n

Numeric value; maximum number of printed elements.

Value

x (invisible).

Examples

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, ])


sftime documentation built on Sept. 12, 2024, 6:18 a.m.