Creating a sequential list of letters with R

前端 未结 4 460
野性不改
野性不改 2020-12-13 18:20

I would like to be able to create a sequence of letters in R (to assist in importing data from a SPSS file)

It\'s quite easy to create a sequence of numbers, for exa

4条回答
  •  忘掉有多难
    2020-12-13 18:56

    for "a" to "z" it's

    letters
    

    for "A" to "Z" its

    LETTERS
    

    And to print specific letters in the sequence, say if you want only j, k & l

    letters[10:12]
    

提交回复
热议问题