testEqualtframes {tframe}R Documentation

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)
    ## Default S3 method:
testEqualtframes(tf1,tf2)
    ## S3 method for class 'stamped'
testEqualtframes(tf1,tf2)
    

Arguments

tf1, tf2

Time frames of the same class.

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).

Value

TRUE or FALSE

See Also

testEqual

Examples

testEqualtframes(tframe(matrix(1:10,10,2)), tframe(array(1:10, c(10,2))))

[Package tframe version 2015.12-1.1 Index]