is.consistent.tframe {tframe} | R Documentation |
Check if tframe and a time series are consistent with one another.
is.consistent.tframe(tf, x) is.consistent.tframe(tf, x) is.consistent.tframe(tf, x)
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) is.consistent.tframe(tframe(z), rnorm(100))