Flag = isequal(X1,X2)
X1
, X2
[ tseries ] - Two tseries objects that will be compared.Flag
[ true
| false
] - True if the two input tseries objects have identical contents: start date, data, comments, userdata, and captions.The function isequaln
is used to compare the tseries data, i.e. NaN
s are correctly matched.