Question: R Studio Challenge: Conditionals IF... THEN... ELSE Open a new rscript file called (exactly) Challenge24C.R. Make sure you save it in the /workspace directory. Write

R Studio Challenge: Conditionals IF... THEN... ELSE
R Studio Challenge: Conditionals IF... THEN... ELSE Open a new rscript file

Open a new rscript file called (exactly) Challenge24C.R. Make sure you save it in the /workspace directory. Write a conditional statement that represents the condition "if age >65 then SENIOR else ADULT" and evaluate the condition for each of age =10, age =72 and age =22 When you are sure that your script is working properly, save the file and click on CheckIt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!