powered by
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 character char(A)# S4 method for array char(A)
# S4 method for character char(A)
# S4 method for array char(A)
A converted to characters
A
a vector or array (not yet supported)
char(character): Converting a character vector
char(character)
char(array): Converting a character array
char(array)
Waldir Leoncio
char("Hi!") char(matrix(letters, 2))
Run the code above in your browser using DataLab