AsciiToInt(strings)
string
.
The length of the returned vector is
sum(nchar(strings))
.
This function can be used to determine how ASCII characters map
to decimals so that they can be represented in functions which require
integers, for example the
marks
argument to
legend
.
AsciiToInt("n") # returns decimal value of n # [1] 110 AsciiToInt("M&2") # returns decimal values of M, & and 2 # [1] 77 38 50