Extract length of underlying time series.

# S3 method for ctre
length(x)

Arguments

x

The ctre object containing the time series

Examples

library(magrittr) flares %>% ctre() %>% thin(k=200) %>% length()
#> [1] 200