Learn R Programming

tframe (version 2015.12-1.1)

testEqualtframes: Compare Two Time Frames

Description

Generic function to compare two time frames. The methods return a logical value, TRUE if the time frames are the same type and value and FALSE otherwise.

Usage

testEqualtframes(tf1,tf2)
    # S3 method for default
testEqualtframes(tf1,tf2)
    # S3 method for stamped
testEqualtframes(tf1,tf2)

Arguments

tf1, tf2

Time frames of the same class.

Value

TRUE or FALSE

Details

Time frames are compared. Time frames need to be of the same class (although it would be nice if they did not need to be).

See Also

testEqual

Examples

Run this code
# NOT RUN {
testEqualtframes(tframe(matrix(1:10,10,2)), tframe(array(1:10, c(10,2))))
# }

Run the code above in your browser using DataLab