| check.tframeConsistent {tframe} | R Documentation |
Check if tframe and a time series are consistent with one another.
check.tframeConsistent(tf, x)
check.tframeConsistent(tf, x)
tf |
A tframe) |
x |
An object) |
Check if the number of periods in the tframe corresponds to the number of observations in the time series.
A logical scalar.
z <- ts(rnorm(100), start=c(1982,1), frequency=12)
check.tframeConsistent(tframe(z), rnorm(100))