R/extract.R
thin.Rd
Drop all but the k largest observations.
k
thin(ctre, k)
A ctre object.
ctre
Discard all but the k largest magnitudes.
A ctre object, with fewer (k) observations.
library(magrittr) flares %>% ctre() %>% plot(log = 'y') flares %>% ctre() %>% thin(k=500) %>% plot(log = 'y')