Quiz: Writing Loops and Functions in R

Use what you’ve learned so far to answer the following questions.

Writing Loops and Functions in R

1

Which keyword is used to define a user-defined function in R?

A)

function

B)

define

C)

declare

D)

def

Question 1 of 60 attempted

Get hands-on with 1400+ tech skills courses.