contr.independent {BayesTools} | R Documentation |
Return a matrix of independent contrasts – a level for each term.
contr.independent(n, contrasts = TRUE)
n |
a vector of levels for a factor, or the number of levels |
contrasts |
logical indicating whether contrasts should be computed |
A matrix with n rows and k columns, with k = n if contrasts = TRUE
and k = n
if contrasts = FALSE
.
There are no references for Rd macro \insertAllCites
on this help page.
contr.independent(c(1, 2))
contr.independent(c(1, 2, 3))