February 2015
M T W T F S S
« May    
 1
2345678
9101112131415
16171819202122
232425262728  

“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.