test.equal.tframe {tframe}R Documentation

Compare Two Time Frames

Description

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

Usage

    test.equal.tframe(tf1,tf2)
    test.equal.tframe(tf1,tf2)
    test.equal.tframe(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

T or F.

See Also

test.equal

Examples

test.equal.tframe(tframe(matrix(1:10,10,2)), tframe(array(1:10, c(10,2))))