| Line 43... |
Line 43... |
| 43 |
heaxadecimal representation (starting with \code{0x} or \code{0X}) can
|
43 |
heaxadecimal representation (starting with \code{0x} or \code{0X}) can
|
| 44 |
be converted, as well as any allowed by the platform for real numbers.
|
44 |
be converted, as well as any allowed by the platform for real numbers.
|
| 45 |
Like \code{\link{as.vector}} it strips attributes including names.
|
45 |
Like \code{\link{as.vector}} it strips attributes including names.
|
| 46 |
|
46 |
|
| 47 |
\code{is.integer} returns \code{TRUE} or \code{FALSE} depending on
|
47 |
\code{is.integer} returns \code{TRUE} or \code{FALSE} depending on
|
| 48 |
whether its argument is of integer type or not.
|
48 |
whether its argument is of integer \link{type} or not.
|
| 49 |
\code{is.integer} is generic: you can write methods to handle
|
49 |
\code{is.integer} is generic: you can write methods to handle
|
| 50 |
specific classes of objects, see \link{InternalMethods}.
|
50 |
specific classes of objects, see \link{InternalMethods}.
|
| 51 |
There is a method for factors which returns \code{FALSE}.
|
51 |
There is a method for factors which returns \code{FALSE}.
|
| 52 |
(Prior to \R 2.0.0, there was no such method and for most (but not
|
52 |
(Prior to \R 2.0.0, there was no such method and for most (but not
|
| 53 |
all) factors \code{is.integer} returned \code{TRUE}.)
|
53 |
all) factors \code{is.integer} returned \code{TRUE}.)
|