Knowledge Quiz: Functions

Note
  • Click the check-mark button to check your answer.
  • Click the question-mark button to see an explanation of the solution.

Which of the following options represent R function calls?

You can recognize a valid function call by the pattern: FUNCTION_NAME().

  • Correct. This function call will list the library paths where R will install packages on your system.
  • Correct. This function call would calculate the trimmed mean of x, ignoring any missing values.
  • This is a symbol (i.e., the name of an object).
  • This is a length-one character vector.
  • This is R’s missing value code.
  • This is a symbol (i.e., the name of an object).
Back to top