Question
Working with R: The file Fitness.csv contains information on 417 individuals on how much they exercise (Exercise), their marital status (Married), and their annual income
Working with R: The file Fitness.csv contains information on 417 individuals on how much they exercise ("Exercise"), their marital status ("Married"), and their annual income ("Income").\ (a) (1pt) Give the exercise status, the marital status, and the annual income for the 208th and the 417th individual. Also provide the line or lines of
R
code that allows you to access this information.\ (b) (1pt) Find the marital status of the 6th, the 106th, and the 406th individual. Also provide the line or lines of
R
code that allows you to access this information. (c) (1pt) Find the annual income of the 325th, 326th, 327th, 328th, and the 329th individual.\ (d) (1pt) Write two lines of code: one that changes the marital status of the 3rd observation to "Broccoli" and one that changes the annual income of the 5th
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