testEqualtframes function

Compare Two Time Frames

Compare Two Time Frames

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.

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.

Returns

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

Examples

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

See Also

testEqual