| refCat | R Documentation |
A summaryFunction, intended to be called from
summarize, which returns the reference level of a factor variable,
i.e. the first category as returned by levels(v). This level will serve
as the reference category and get absorbed into the intercept for most standard
model fitting procedures and therefore, it may be convenient to know.
refCat(v, ...)
v |
A variable (vector) of type factor. |
... |
Not in use. |
An object of class summaryResult with the following entries: $feature
("Reference level"), $result (the reference level of v), and $value
(identical to result).
summaryFunction, summarize, summaryResult,
allSummaryFunctions
refCat(factor(letters))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.