Description Usage Arguments Details Value Author(s) Examples
Extract the dates from a one column LOGICAL Fts object where value is TRUE
1 | event.dates(x)
|
x |
An Fts object |
removes NA values before extracting dates
a vector of dates
Whit Armstrong
1 2 3 4 5 6 7 | x <- fts(index=seq(from=Sys.Date(),by="days",length.out=100),data=rnorm(100))
x.bool <- x > 10
event.dates(x.bool)
## ignores NA's
x.bool[10:20] <- NA
event.dates(x.bool)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.