Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program using R language to create the following data frame and call it practiceDF. Include your name in the first row, and then
- Write a program using R language to create the following data frame and call it practiceDF.
- Include your name in the first row, and then also include the following information.
- Create a second data frame from practiceDF by dropping the first two columns and call it practiceRes.
- Create a third data frame from practiceDF by dropping the following rows: 2, 4, 5, 8, and 9 and call the new data frame as practiceQual.
- Hints: Use subset() function to return a subset from the data frame. Search R Documentation to see how this function can be used to select vectors which meet certain conditions.
- Write a program using R language to convert temperature measurements from Fahrenheit, F, to Celsius, C, using the following equation:
- C=59(F32)
- Test your program using the following vector of Fahrenheit values: (45, 77, 19, 101, 120)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started