is.consistent.tframe {tframe}R Documentation

Check for a Consistent tframe

Description

Check if tframe and a time series are consistent with one another.

Usage

    is.consistent.tframe(tf, x)
    is.consistent.tframe(tf, x)
    is.consistent.tframe(tf, x)
    

Details

Check if the number of periods in the tframe corresponds to the number of observations in the time series.

Value

A logical scalar.

See Also

is.tframe

Examples

    z <- ts(rnorm(100), start=c(1982,1), frequency=12)
    is.consistent.tframe(tframe(z), rnorm(100))