compatible_periodicity: Check if two periodicities data.frames are compatible

Description Usage Arguments Value Examples

View source: R/xts_utils.R

Description

Check if two periodicities data.frames are compatible

Usage

1
compatible_periodicity(first, second)

Arguments

first

periodicity data.frame

second

other periodicity data.frame

Value

TRUE if compatible, FALSE otherwise

Examples

1
2
3
4
5
6
7
require(xts)
data(sample_matrix)
x <- as.xts(sample_matrix)
a <- periodicity_df(head(x))
b <- periodicity_df(tail(x))

compatible_periodicity(a, b)

jmayalag/OHLCMerge documentation built on April 1, 2021, 3:34 a.m.