# 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

**Demo code:**

```
library("exams")
set.seed(1090)
exams2html("function.Rnw")
set.seed(1090)
exams2pdf("function.Rnw")
set.seed(1090)
exams2html("function.Rmd")
set.seed(1090)
exams2pdf("function.Rmd")
```