| Line 29... |
Line 29... |
| 29 |
\code{as.double} attempts to coerce its argument to be of double
|
29 |
\code{as.double} attempts to coerce its argument to be of double
|
| 30 |
type: like \code{\link{as.vector}} it strips attributes including names.
|
30 |
type: like \code{\link{as.vector}} it strips attributes including names.
|
| 31 |
|
31 |
|
| 32 |
\code{is.double} returns \code{TRUE} or \code{FALSE} depending on
|
32 |
\code{is.double} returns \code{TRUE} or \code{FALSE} depending on
|
| 33 |
whether its argument is of double type or not. It is generic:
|
33 |
whether its argument is of double type or not. It is generic:
|
| 34 |
you can write methods to handle of specific classes of objects,
|
34 |
you can write methods to handle specific classes of objects,
|
| 35 |
see \link{InternalMethods}.
|
35 |
see \link{InternalMethods}.
|
| 36 |
}
|
36 |
}
|
| 37 |
\note{
|
37 |
\note{
|
| 38 |
\emph{\R has no single precision data type. All real numbers are
|
38 |
\emph{\R has no single precision data type. All real numbers are
|
| 39 |
stored in double precision format}. The functions \code{as.single}
|
39 |
stored in double precision format}. The functions \code{as.single}
|