rot13: Ergheaf gur EBG-13 pvcurevat bs n fgevat

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/rot13.R

Description

rot13 applied to the above title returns the string "Returns the ROT-13 ciphering of a string".

Usage

1
rot13(string)

Arguments

string

a string of characters.

Value

a string of characters.

Author(s)

J.R. Lobry

References

citation("seqinr")

See Also

chartr

Examples

1
2
3
4
5
6
7
8
9
##
## Simple ciphering of a string:
##
message <- "Hello, world!"
rot13(message) # "Uryyb, jbeyq!"
##
## Routine sanity check:
##
stopifnot(identical(rot13(rot13(message)), message))

seqinr documentation built on June 9, 2021, 9:06 a.m.