time.uts: Observation Times

Description Usage Arguments Value Note Examples

View source: R/uts.R

Description

Get the observation times.

Usage

1
2
## S3 method for class 'uts'
time(x, ...)

Arguments

x

a "uts" object with logical observation values.

...

further arguments passed to or from methods.

Value

A POSIXct object.

Note

The observation times of a "uts" object x can also be accessed using x$times. However, using time(x) relies on the internal object representation.

Examples

1
2
time(ex_uts())
identical(time(ex_uts()), ex_uts()$times)     # TRUE

andreas50/uts documentation built on April 8, 2021, 10:03 a.m.