Answered step by step
Verified Expert Solution
Link Copied!

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

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

Linear Algebra A Modern Introduction

Authors: David Poole

4th edition

1285463242, 978-1285982830, 1285982835, 978-1285463247

More Books

Students also viewed these Mathematics questions

Question

Who heads the council of ministers?

Answered: 1 week ago

Question

Who Coined and used the ward non aligned first?

Answered: 1 week ago

Question

Formation of forward bloc by subha bose was .....?

Answered: 1 week ago

Question

The S.I. unit of change is........?

Answered: 1 week ago