event.dates {fts}R Documentation

Extract Dates

Description

Extract the dates from a one column LOGICAL Fts object where value is TRUE

Usage

event.dates(x)

Arguments

x

An Fts object

Details

removes NA values before extracting dates

Value

a vector of dates

Author(s)

Whit Armstrong

Examples

x <- fts()
x.bool <- x > 10
event.dates(x.bool)

## ignores NA's
x.bool[10:20] <- NA
event.dates(x.bool)


[Package fts version 0.7.7 Index]