Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A developer created the following function: check.CreditByIfElse
A developer created the following function:
check.CreditByIfElse<-function(x)
{
ifelse(x<=500,"Rejected","Approved")
}
If a user runs the check.CreditByIfElse command as follows:
applicants<-c(420,300,680,700,560)
check.CreditByIfElse(applicants)
What does the user get in R?
A) 420 300 680 700 560
B) RejectedRejectedRejectedRejectedRejected
C) 420,300,680,700,560
D) RejectedRejectedApproved Approved Approved
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