R/frame.R
The levels of a factor are reordered os that the reference level is at level 0, remaining levels are moved down as needed.
h2o.relevel(x, y)
x | factor column in h2o frame |
---|---|
y | reference level (string) |
new reordered factor column