checktframeConsistent: Check for a Consistent tframe

Description Usage Arguments Details Value See Also Examples

Description

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

Usage

1
2
3
4
    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

is.tframe Tobs

Examples

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


Search within the tframe package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.