relevels function

Relevel a factor by a named or unnamed vector.