Question: 5 . Write a R command to create a character vector named char 1 with values & 5 , Nd ,

5. Write a R command to create a character vector named char1 with values "&5","Nd","9iC","3df","df","nd","_5","9ic".
6. Can you write an R command to sort the character vector created in question 5?
7. Write in words and based on the output from question 6, why "3df" goes before "9ic"?
8. Write in words and based on the output from question 6, why "&5" goes before "3df"?

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!