| Line 47... |
Line 47... |
| 47 |
\item{\dots}{further arguments for different methods, notably the
|
47 |
\item{\dots}{further arguments for different methods, notably the
|
| 48 |
following two, for numerical comparison:}
|
48 |
following two, for numerical comparison:}
|
| 49 |
\item{tolerance}{numeric \eqn{\ge} 0. Differences smaller than
|
49 |
\item{tolerance}{numeric \eqn{\ge} 0. Differences smaller than
|
| 50 |
\code{tolerance} are not reported. The default value is close to
|
50 |
\code{tolerance} are not reported. The default value is close to
|
| 51 |
\code{1.5e-8}.}
|
51 |
\code{1.5e-8}.}
|
| - |
|
52 |
\item{scale}{\code{NULL} or numeric > 0, typically of length 1 or
|
| 52 |
\item{scale}{numeric scalar > 0 (or \code{NULL}). See \sQuote{Details}.}
|
53 |
\code{length(target)}. See \sQuote{Details}.}
|
| 53 |
\item{countEQ}{logical indicating if the \code{target == current}
|
54 |
\item{countEQ}{logical indicating if the \code{target == current}
|
| 54 |
cases should be counted when computing the mean (absolute or
|
55 |
cases should be counted when computing the mean (absolute or
|
| 55 |
relative) differences. The default, \code{FALSE} may seem
|
56 |
relative) differences. The default, \code{FALSE} may seem
|
| 56 |
misleading in cases where \code{target} and \code{current} only
|
57 |
misleading in cases where \code{target} and \code{current} only
|
| 57 |
differ in a few places; see the extensive example.}
|
58 |
differ in a few places; see the extensive example.}
|
| Line 101... |
Line 102... |
| 101 |
Note that these comparisons are computed only for those vector elements
|
102 |
Note that these comparisons are computed only for those vector elements
|
| 102 |
where \code{target} is not \code{\link{NA}} and differs from \code{current}.
|
103 |
where \code{target} is not \code{\link{NA}} and differs from \code{current}.
|
| 103 |
If \code{countEQ} is true, the equal and \code{NA} cases are
|
104 |
If \code{countEQ} is true, the equal and \code{NA} cases are
|
| 104 |
\emph{counted} in determining \dQuote{sample} size.
|
105 |
\emph{counted} in determining \dQuote{sample} size.
|
| 105 |
|
106 |
|
| 106 |
If \code{scale} is positive, absolute comparisons are made after
|
107 |
If \code{scale} is numeric (and positive), absolute comparisons are
|
| 107 |
scaling (dividing) by \code{scale}.
|
108 |
made after scaling (dividing) by \code{scale}.
|
| 108 |
|
109 |
|
| 109 |
For complex \code{target}, the modulus (\code{\link{Mod}}) of the
|
110 |
For complex \code{target}, the modulus (\code{\link{Mod}}) of the
|
| 110 |
difference is used: \code{all.equal.numeric} is called so arguments
|
111 |
difference is used: \code{all.equal.numeric} is called so arguments
|
| 111 |
\code{tolerance} and \code{scale} are available.
|
112 |
\code{tolerance} and \code{scale} are available.
|
| 112 |
|
113 |
|