Question
Need this in Rstudio with urgent help. Question: You have been tasked by the government of the imaginary country Rnaeoepsgi to make a script that
Need this in Rstudio with urgent help. Question: You have been tasked by the government of the imaginary country Rnaeoepsgi to make a script that they will use to determine whether somebody should wear a mask given the values of key input variables. You come up with the flowchart below, which involves the following input variables: age (numeric) is a positive integer; outdoors (logical) is true if the person is outdoors and false if indoors; activity (character) describes what the person is currently doing. To summarise the flowchart, a person five years in age or older must wear a mask if he or she is inside and engaging in an activity other than "eating", "drinking", or "exercising". Your answer should be stored to the variable output 3 (logical).
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