time: Sampling Times of Time Series

Description Usage Arguments Value See Also Examples

View source: R/extract.R

Description

Sampling Times of Time Series

Extract event times from a ctre object.

Usage

1
2
3
4
time(x, ...)

## S3 method for class '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

1
2
  library(magrittr)
  seaquakes %>% ctre() %>% thin(k=200) %>% time()

CTRE documentation built on May 2, 2019, 9:34 a.m.