Extract event times from a ctre object.

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

library(magrittr) seaquakes %>% ctre() %>% thin(k=200) %>% time()
#> [1] 57210398 57507632 57520802 65049474 65073345 71098205 #> [7] 110124663 119623034 123360198 125008545 134853824 136815505 #> [13] 147377854 169087323 171313938 181866256 181915724 182188038 #> [19] 182258636 183155357 192995658 197240637 210923851 222831503 #> [25] 236921070 240638560 264904509 266559471 286871132 290405552 #> [31] 294783379 294805105 294822438 310354339 311013565 313592813 #> [37] 315610474 331946359 331949237 331988418 331989890 331995649 #> [43] 331997054 332024213 332026160 332132560 332133257 332232919 #> [49] 332325717 332678209 332775640 332784007 333045265 333688316 #> [55] 336579160 340460967 340918957 341499894 343105728 345148351 #> [61] 352057374 356997006 357049730 357139453 357193696 368736339 #> [67] 397737974 436939085 441440681 457797192 465175832 468995637 #> [73] 478931703 481040964 496992914 504632463 504690870 507507280 #> [79] 507585531 508203991 508638285 514751704 525560914 532146035 #> [85] 537523380 554955766 555919144 556519976 579769270 581915422 #> [91] 586046674 615360509 630319647 647657168 696493132 698572697 #> [97] 722176669 722713679 729766526 737555167 743773990 745117234 #> [103] 755174020 755317262 779425786 783950007 795406719 812139852 #> [109] 839727076 840094430 854579960 857570152 861624146 861624394 #> [115] 861624687 861624880 861624956 861626076 861626917 861627089 #> [121] 861628257 861629272 861635853 861652987 861657833 861727913 #> [127] 861764516 861991723 862009384 862190556 864479758 875217243 #> [133] 878300989 918214785 918337679 918621124 918893875 919770341 #> [139] 928138966 952868087 963768323 964058079 978162166 1007261276 #> [145] 1017372100 1019574331 1024349182 1025296750 1025318340 1025711252 #> [151] 1031753326 1075865878 1095519345 1095634794 1131211928 1144751602 #> [157] 1145317796 1145390594 1214165921 1220618143 1220899926 1231001365 #> [163] 1254952994 1254953746 1254953905 1254953931 1254957228 1254959656 #> [169] 1254961324 1254964116 1254965460 1254975473 1255001703 1255022202 #> [175] 1255036573 1255036720 1255037837 1255044943 1255060049 1255073608 #> [181] 1255093952 1255108037 1255236471 1255329423 1255340241 1255466891 #> [187] 1255481710 1255596636 1255634416 1255785520 1255937754 1259001394 #> [193] 1262531628 1263830954 1267877456 1270952346 1315012013 1346850550 #> [199] 1417814115 1458305350