character {base} | R Documentation |
Character Vectors
Description
Create or test for objects of type "character"
.
Usage
character(length = 0)
as.character(x)
is.character(x)
Value
character
creates a character vector of the specified length.
The elements of the vector are all equal to ""
.
as.character
attempts to coerce its argument to be of character
type.
is.character
returns TRUE
or FALSE
depending on
whether its argument is of character type or not.