Check for a Consistent tframe
Check if tframe and a time series are consistent with one another.
checktframeConsistent(tf, x) ## Default S3 method: checktframeConsistent(tf, x)
tf
: A tframe)x
: An object)A logical scalar.
Check if the number of Tobs in the tframe corresponds to the number of observations in the time series.
is.tframe
Tobs
z <- ts(rnorm(100), start=c(1982,1), frequency=12) checktframeConsistent(tframe(z), rnorm(100))