Question: Create a function that takes a character variable as input and and returns numerical values corresponding to the position of each letter in the character
Create a function that takes a character variable as input and and returns numerical values corresponding to the position of each letter in the character vector in the alphabet. Example input "abc", output c Show that your function works by applying it to the variable x
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
