encipher any text string using an alphabetic shift

enciphR(x, alg, key = F)

Arguments

x

string to be enciphered

alg

algorithm for cipher (e.g. 1 to shift all letter forward 1 [A->B]; -2 to shift all letters back 2 places [A->Y])

key

do you want a key to be included in output?; default=F; If key=T, output will be a list, rather than a vector.