| Line 55... |
Line 55... |
| 55 |
like \code{\link{as.vector}} it strips attributes including names.
|
55 |
like \code{\link{as.vector}} it strips attributes including names.
|
| 56 |
(To ensure that an object is of double type without stripping
|
56 |
(To ensure that an object is of double type without stripping
|
| 57 |
attributes, use \code{\link{storage.mode}}.) Character strings
|
57 |
attributes, use \code{\link{storage.mode}}.) Character strings
|
| 58 |
containing optional whitespace followed by either a decimal
|
58 |
containing optional whitespace followed by either a decimal
|
| 59 |
representation or a hexadecimal representation (starting with
|
59 |
representation or a hexadecimal representation (starting with
|
| 60 |
\code{0x} or \code{0X}) can be converted, as can special values such
|
60 |
\samp{0x} or \samp{0X}) can be converted, as can special values such
|
| 61 |
as \code{"NA"}, \code{"NaN"}, \code{"Inf"} and \code{"infinity"},
|
61 |
as \code{"NA"}, \code{"NaN"}, \code{"Inf"} and \code{"infinity"},
|
| 62 |
irrespective of case.
|
62 |
irrespective of case.
|
| 63 |
|
63 |
|
| 64 |
\code{as.double} for factors yields the codes underlying the factor
|
64 |
\code{as.double} for factors yields the codes underlying the factor
|
| 65 |
levels, not the numeric representation of the labels, see also
|
65 |
levels, not the numeric representation of the labels, see also
|