August 2014
M T W T F S S
« May    
 123
45678910
11121314151617
18192021222324
25262728293031

“relevel” factors when using them to create dummy variables

?relevel

: The levels of a factor are re-ordered so that the level specified
by ‘ref’ is first and the others are moved down. This is useful
for ‘contr.treatment’ contrasts which take the first level as the
reference.

Comments are closed.