Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

checktframeConsistent

Check for a Consistent tframe


Description

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

Usage

checktframeConsistent(tf, x)
    ## Default S3 method:
checktframeConsistent(tf, x)

Arguments

tf

A tframe)

x

An object)

Details

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

Value

A logical scalar.

See Also

Examples

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

tframe

Time Frame Coding Kernel

v2015.12-1.1
GPL-2
Authors
Paul Gilbert <pgilbert.ttv9z@ncf.ca>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.