The function ________ is used in R to create user-defined functions.

  • create_function()
  • define_function()
  • function()
  • user_function()
In R, the function() keyword is used to create user-defined functions. It is followed by a set of parentheses that can contain function arguments, and then the function body is enclosed in curly braces.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *