Question: I need code for R language 1. Show the last two rows and last two columns of the data frame cdata. 2. Select the first

I need code for R language
1. Show the last two rows and last two columns of the data frame cdata. 2. Select the first three rows by excluding the last row. 3. Select the second and third columns. 4. Select the fourth column and keep the shape Select "age" by name 5. Select "age" by position. 6. Find those entered the program before 2017 and are younger than 27. 7. Find those females who are older than 25, or males who entered the program after 2016. 8. Select those entered the program before 2017 and are younger than 27. 9. Select females who are older than 25 , or males who entered the program after 2016. 10. Select name and entry for males who are younger than 28 11. Add a new variable height to cdata 12. Remove height from cdata
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
