4
The vector LETTERS
works as follows:
LETTERS[1:10]
[1] "A" "B" "C" "D" "E" "F" "G" "H" "I" "J"
Like adjust this vector to insert letters instead of numbers? Something like:
LETTERS[A:J]
Error: object 'A' not found
This would avoid having to count the letters of the alphabet to specify the desired character range.
LETTERS
is a vector (object), not a function– Tomás Barcellos
Corrected. Thank you.
– neves