Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Working with R: The file Fitness.csv contains information on 4 1 7 individuals on how much they exercise ( Exercise ) , their
Working with R: The file Fitness.csv contains information on individuals on how much they exercise Exercise their marital status Married and their annual income Income
apt Give the exercise status, the marital status, and the annual income for the th and the th individual. Also provide the line or lines of code that allows you to access this information.
bpt Find the marital status of the th the th and the th individual. Also provide the line or lines of code that allows you to access this information.
cpt Find the annual income of the thth thth and the th individual.
dpt Write two lines of code: one that changes the marital status of the rd observation to "Broccoli" and one that changes the annual income of the th observation to $
ept Write a line of code that creates a vector named "cooldata" that contains the numbers and in that order.
fpt Write the two sentences in the "Description" section of the help file for the function.
Understanding input: A student writes the following line of code:
example
a pts each Give the output of the following commands.
i example
ii example
iii. example
iv example :
v example
bpts each Explain why each of the following commands will throw an error.
i Example
ii example
iii example
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