TScompare(ids, con1, con2, na.rm=FALSE, fuzz=1e-14) doubleCheck(x, con1=x$con1, con2=x$con2, na.rm=FALSE, fuzz=1e-10) tfDetails(x, con1=x$con1, con2=x$con2, na.rm=FALSE) "summary"(object, ...) "tfplot"(x, con1=x$con1, con2=x$con2, diff=FALSE, ...)
TScompare
object as returned by TScompare
.TScompare
compares series from two databases (con1
and
con2
) to check if the series are the same.
If ids
is a vector or matrix with one column then the same series
identifiers are used for both databases. Ifids
is a matrix with two
columns then the first columns indicates the series ids on first database and
the second column indicates corresponding id on the second database.Series are first checked to see that they cover the same time window.
If the window comparison fails (is FALSE
) then the value comparison
is also indicated as FALSE
. When the window comparison is TRUE
then the value comparison is set TRUE
if all values are within
fuzz
in absolute value.
The function doubleCheck
reruns value comparisons using a different
(relaxed) fuzz
. It only checks FALSE
results, and returns the new result with a different fuzz. (It will be much
quicker on very long checks if most series do not need to be rechecked.)
Connections (cons) may have expired if there is a long delay bfore running this,
in which case they need to be re-established.
The method summary.TScompare
summarizes the result returned by TScompare
or doubleCheck
.
The method tfplot.TScompare
plots differences in the series.
The function tfDetails
provides details about differences in the time
window for series that are not equal.
AllIds
,
TSconnect
,
TSget