Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
1. 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 6 th, 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle Exadata

Authors: Martin Bach, Kristofferson Arao

2nd Edition

1430262427, 9781430262428

More Books

Students also viewed these Databases questions

Question

=+In what ways were the two situations similar?

Answered: 1 week ago