as.character.integer64 | R Documentation |
Methods to coerce integer64 to other atomic types.
'as.bitstring' coerces to a human-readable bit representation (strings of zeroes and ones).
The methods format
, as.character
, as.double
,
as.logical
, as.integer
do what you would expect.
as.bitstring(x, ...)
## S3 method for class 'integer64'
as.bitstring(x, ...)
## S3 method for class 'bitstring'
print(x, ...)
## S3 method for class 'integer64'
as.character(x, ...)
## S3 method for class 'integer64'
as.double(x, keep.names = FALSE, ...)
## S3 method for class 'integer64'
as.integer(x, ...)
## S3 method for class 'integer64'
as.logical(x, ...)
## S3 method for class 'integer64'
as.factor(x)
## S3 method for class 'integer64'
as.ordered(x)
## S3 method for class 'integer64'
as.list(x, ...)
x |
an integer64 vector |
keep.names |
FALSE, set to TRUE to keep a names vector |
... |
further arguments to the |
as.bitstring
returns a string of class 'bitstring'.
The other methods return atomic vectors of the expected types
Jens Oehlschlägel <Jens.Oehlschlaegel@truecluster.com>
as.integer64.character
integer64
as.character(lim.integer64())
as.bitstring(lim.integer64())
as.bitstring(as.integer64(c(
-2,-1,NA,0:2
)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.