Question: ASSIGNMENT 2 Write a code that contains the answers of the questions given below and save your file by using your name Name.R .
ASSIGNMENT
Write a code that contains the answers of the questions given below and save your file by using your
name "Name.R Send me the R file.
Add a comment line that contains your name, surname, student ID and department.
Create a vector named family.yourname ie family.seza that contains the names of your family
members ie parents, siblings you, etc.
Convert the vector to a factor named factor.family.yourname ie factor.family.seza
Use summary command for the vector and the factor.
Use levels command.
Specify the order of levels for the factor according to their ages ie sister $ brother father
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
