The R Project SVN R

Rev

Rev 27625 | Rev 30763 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27625 Rev 28047
Line 12... Line 12...
12
\usage{
12
\usage{
13
all.equal(target, current, \dots)
13
all.equal(target, current, \dots)
14
 
14
 
15
\method{all.equal}{numeric}(target, current,
15
\method{all.equal}{numeric}(target, current,
16
          tolerance= .Machine$double.eps ^ 0.5, scale=NULL, \dots)
16
          tolerance= .Machine$double.eps ^ 0.5, scale=NULL, \dots)
-
 
17
 
-
 
18
attr.all.equal(target, current, \dots)
17
}
19
}
18
\arguments{
20
\arguments{
19
  \item{target}{\R object.}
21
  \item{target}{\R object.}
20
  \item{current}{other \R object, to be compared with \code{target}.}
22
  \item{current}{other \R object, to be compared with \code{target}.}
21
  \item{\dots}{Further arguments for different methods, notably the
23
  \item{\dots}{Further arguments for different methods, notably the
Line 46... Line 48...
46
 
48
 
47
    If \code{scale} is positive, absolute comparisons are after scaling
49
    If \code{scale} is positive, absolute comparisons are after scaling
48
    (dividing) by \code{scale}.
50
    (dividing) by \code{scale}.
49
 
51
 
50
    For complex arguments, the modulus \code{\link{Mod}} of the difference 
52
    For complex arguments, the modulus \code{\link{Mod}} of the difference 
51
    is used.
53
    is used: \code{all.numeric.numeric} is called so arguments
-
 
54
    \code{tolerance} and \code{scale} are available.
52
 
55
 
53
    \code{attr.all.equal} is used for comparing
56
    \code{attr.all.equal} is used for comparing
54
    \code{\link{attributes}}, returning \code{NULL} or \code{character}.
57
    \code{\link{attributes}}, returning \code{NULL} or \code{character}.
55
}
58
}
56
\value{
59
\value{