intersect.all: find date intersection among multiple fts objects

Description Usage Arguments Value Author(s) Examples

Description

find date intersection

Usage

1

Arguments

...

Fts objects

Value

a vector of dates

Author(s)

Whit Armstrong

Examples

1
2
3
4
x <- fts(index=seq(from=Sys.Date(),by="days",length.out=100),data=1:100)
y <- fts(index=seq(from=Sys.Date(),by="days",length.out=100),data=1:100)
y <- y[1:nrow(y) %% 2==0,]
intersect.all(x,y)

Example output

Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

 [1] "2020-01-14" "2020-01-16" "2020-01-18" "2020-01-20" "2020-01-22"
 [6] "2020-01-24" "2020-01-26" "2020-01-28" "2020-01-30" "2020-02-01"
[11] "2020-02-03" "2020-02-05" "2020-02-07" "2020-02-09" "2020-02-11"
[16] "2020-02-13" "2020-02-15" "2020-02-17" "2020-02-19" "2020-02-21"
[21] "2020-02-23" "2020-02-25" "2020-02-27" "2020-02-29" "2020-03-02"
[26] "2020-03-04" "2020-03-06" "2020-03-08" "2020-03-10" "2020-03-12"
[31] "2020-03-14" "2020-03-16" "2020-03-18" "2020-03-20" "2020-03-22"
[36] "2020-03-24" "2020-03-26" "2020-03-28" "2020-03-30" "2020-04-01"
[41] "2020-04-03" "2020-04-05" "2020-04-07" "2020-04-09" "2020-04-11"
[46] "2020-04-13" "2020-04-15" "2020-04-17" "2020-04-19" "2020-04-21"

fts documentation built on May 2, 2019, 9:17 a.m.

Related to intersect.all in fts...