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:
Preview:

What is the name of the R function for extracting the estimated coefficients from a fitted (generalized) linear model object?

coef is the R function for extracting the estimated coefficients from a fitted (generalized) linear model object. See ?coef for the corresponding manual page.

What is the name of the R function for negative binomial regression?

glm.nb is the R function for negative binomial regression. See ?glm.nb for the corresponding manual page.

What is the name of the R function for Poisson regression?

glm is the R function for Poisson regression. See ?glm for the corresponding manual page.

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")