Question: (In R) Problem 2 uses the built-in data set `VADeaths`. ###Part 1 Which demographic (in terms of sex, age, and rural or urban residence) has
(In R)
Problem 2 uses the built-in data set `VADeaths`.
###Part 1 Which demographic (in terms of sex, age, and rural or urban residence) has the highest death rate? Which has the lowest? The `arr.ind` argument of `which()` might be useful. Full credit will be given when the output (either to the console or stored as a variable) shows the answer. For example, an acceptable output would be of the form `"Rural Male" "50-54"`, not just the number `11.7`.
###Part 2 On average, are death rates higher for urban or rural population groups?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
