function: String Question about R Functions

Exercise template for a knowledge quiz question (about glm-related R functions) where the correct answer has to match exactly a given string.

Name:
function
Type:
Description:
Knowledge quiz question about R functions related to lm/glm. A function is drawn randomly from a list of 8 question/answer pairs and the correct string answer is the corresponding R function.
Solution feedback:
Yes
Randomization:
Shuffling (1 out of 8 question/answer pairs)
Mathematical notation:
No
Verbatim R input/output:
No
Images:
No
Other supplements:
No
Raw: (1 random version)
PDF:
function-Rmd-pdf
function-Rnw-pdf
HTML:
function-Rmd-html
function-Rnw-html

Demo code:

library("exams")

set.seed(403)
exams2html("function.Rmd")
set.seed(403)
exams2pdf("function.Rmd")

set.seed(403)
exams2html("function.Rnw")
set.seed(403)
exams2pdf("function.Rnw")