The R Project SVN R

Rev

Rev 88581 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88581 Rev 88850
Line 95... Line 95...
95
  can happen, you should use the \code{\link{identical}} function
95
  can happen, you should use the \code{\link{identical}} function
96
  instead.
96
  instead.
97
 
97
 
98
  For numerical and complex values, remember \code{==} and \code{!=} do
98
  For numerical and complex values, remember \code{==} and \code{!=} do
99
  not allow for the finite representation of fractions, nor for rounding
99
  not allow for the finite representation of fractions, nor for rounding
-
 
100
  error (\manual{R-FAQ}{Why doesn't R think these numbers are equal?}).
100
  error.  Using \code{\link{all.equal}} with \code{identical} or
101
  Using \code{\link{all.equal}} with \code{identical} or
101
  \code{\link{isTRUE}} is almost always preferable; see the examples.
102
  \code{\link{isTRUE}} is almost always preferable; see the examples.
102
  (This also applies to the other comparison operators.)
103
  (This also applies to the other comparison operators.)
103
 
104
 
104
  These operators are sometimes called as functions as
105
  These operators are sometimes called as functions as
105
  e.g.\sspace{}\code{`<`(x, y)}: see the description of how
106
  e.g.\sspace{}\code{`<`(x, y)}: see the description of how