Question
In R Script Use the subscripting operations on state.x77 data matrix to: (a) Find the state with the maximum area (variable Area) in the Mountain
In R Script
Use the subscripting operations on state.x77 data matrix to: (a) Find the state with the maximum area (variable Area) in the Mountain region as defined by the factor state.division. Get the state name of the result. (Hint: use help(state) function to read the information about state.x77, state.division, and state.name). (b) Find the average illiteracy rate (variable Illiteracy) in the Middle Atlantic region as defined by the factor state.division. (c) Find the states that have murder rates (variable Murder) less than the first quartile (25%). Get the state names of the result.
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