Learn R Programming

CTRE (version 0.1.0)

time: Sampling Times of Time Series

Description

Sampling Times of Time Series

Extract event times from a ctre object.

Usage

time(x, ...)

# S3 method for ctre time(x, ...)

Arguments

x

A time series or ctre object

...

Extra arguments for future methods

Value

A numeric vector of event times, or a time series.

See Also

time.ctre

Examples

Run this code
# NOT RUN {
  library(magrittr)
  seaquakes %>% ctre() %>% thin(k=200) %>% time()
# }

Run the code above in your browser using DataLab