Question: GIVE THE CODES IN R LANGUAGE Q4. Write the code snippets for the following operations with a suitable example. a. To generate a sequence of

 GIVE THE CODES IN R LANGUAGE Q4. Write the code snippets

GIVE THE CODES IN R LANGUAGE

Q4. Write the code snippets for the following operations with a suitable example. a. To generate a sequence of 1 to 10 and to append item 100 after the 5th element b. Create a vector with 10 values and sort it in ascending and descending order. c. Convert 3 vectors of different datatype and combine it into a list d. Add number 7 to a given vector v

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!