Question
Please answet this in R. I have posted the link to the data set below: link: http://people.stat.sc.edu/grego/courses/stat540/Fire_Response.txt The Fire Response data on the website simulates
Please answet this in R. I have posted the link to the data set below:
link: http://people.stat.sc.edu/grego/courses/stat540/Fire_Response.txt
The Fire Response data on the website simulates the response time (in minutes) for tractor units to reach fires on non-federal lands in South Carolina. The districts are row names. The variables include the readiness level of each district (1=low, 2=medium, 3=high), the elapsed time to contact the dispatch office, the elapsed time for the dispatcher to contact a tractor unit, and the elapsed time for a tractor unit to reach the scene of a fire.
(a) Read in the data set as a data frame; you may need row.names=NULL to read it in.
(b) Change the name of the District column so that it reads correctly as District.
(c) Extract rows 4, 11, 12, and 15the rows for the Midlands and save them in a data frame called Midlands (Well soon learn a more efficient way of doing this). Display the new data frame.
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