Question: Discuss how to use R programming to solve the following problem. Youre not just writing the R code, you are also discussing the process. Given

Discuss how to use R programming to solve the following problem. Youre not just writing the R code, you are also discussing the process.

  1. Given a persons full name in the format of firstName middleName lastName such as Michael Carlos Dumas,
    1. write R code(s) to convert it to the format of lastName, middleInitial, firstName. In the case of Michael Carlos Dumas, the converted name is Dumas, C. Michael. Your solution should work with any names that comply with the format. (Hint: use str_split in stringr library to parse the full name).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!