| Line 52... |
Line 52... |
| 52 |
used for the numeric missing value \code{NA}, and \code{is.nan} is
|
52 |
used for the numeric missing value \code{NA}, and \code{is.nan} is
|
| 53 |
false for that value. A complex number is regarded as \code{NaN} if
|
53 |
false for that value. A complex number is regarded as \code{NaN} if
|
| 54 |
either the real or imaginary part is \code{NaN} but not \code{NA}.
|
54 |
either the real or imaginary part is \code{NaN} but not \code{NA}.
|
| 55 |
All elements of logical, integer and raw vectors are considered not to
|
55 |
All elements of logical, integer and raw vectors are considered not to
|
| 56 |
be NaN.
|
56 |
be NaN.
|
| 57 |
|
57 |
|
| 58 |
All three functions accept \code{NULL} as input and return a length
|
58 |
All three functions accept \code{NULL} as input and return a length
|
| 59 |
zero result. The default methods accept character and raw vectors, and
|
59 |
zero result. The default methods accept character and raw vectors, and
|
| 60 |
return \code{FALSE} for all entries. Prior to \R version 2.14.0 they
|
60 |
return \code{FALSE} for all entries. Prior to \R version 2.14.0 they
|
| 61 |
accepted all input, returning \code{FALSE} for most non-numeric
|
61 |
accepted all input, returning \code{FALSE} for most non-numeric
|
| 62 |
values; cases which are not atomic vectors are now signalled as
|
62 |
values; cases which are not atomic vectors are now signalled as
|
| 63 |
errors.
|
63 |
errors.
|
| 64 |
|
64 |
|
| 65 |
All three functions are generic: you can write methods to handle
|
65 |
All three functions are generic: you can write methods to handle
|
| 66 |
specific classes of objects, see \link{InternalMethods}.
|
66 |
specific classes of objects, see \link{InternalMethods}.
|
| 67 |
}
|
67 |
}
|
| 68 |
\note{
|
68 |
\note{
|
| 69 |
In \R, basically all mathematical functions (including basic
|
69 |
In \R, basically all mathematical functions (including basic
|