categorical {amba} | R Documentation |
Creates categorical terms, noting that a categorical term is also a linear term. Unlike the lm function, there are estimates for each level of the variable, however an adjustment is made for summary output and inference.
categorical (x, y=NULL, valid.intercept=ifst (y), s)
x |
|
y |
|
valid.intercept |
|
s |