char | R Documentation |
A character array is a sequence of characters, just as a numeric array is a sequence of numbers. A typical use is to store a short piece of text as a row of characters in a character vector.
char(A) ## S4 method for signature 'character' char(A) ## S4 method for signature 'array' char(A)
A |
a vector or array (not yet supported) |
A
converted to characters
char(character)
: Converting a character vector
char(array)
: Converting a character array
Waldir Leoncio
char("Hi!") char(matrix(letters, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.