If a function parameter in R is given a default value, it becomes an ______ parameter.

  • Optional
  • Required
  • Conditional
  • None of the above
If a function parameter in R is given a default value, it becomes an optional parameter. This means that if the argument is not provided when calling the function, the default value will be used instead. It allows for flexibility in function usage and allows the caller to omit the argument if desired.
Add your answer
Loading...

Leave a comment

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