Rdocumentation
powered by
Learn R Programming
h2o (version 3.8.3.3)
h2o.relevel: Reorders levels of an H2O factor, similarly to standard R's relevel.
Description
The levels of a factor are reordered os that the reference level is at level 0, remaining levels are moved down as needed.
Usage
h2o.relevel(x, y)
Arguments
x
factor column in h2o frame
y
reference level (string)
Value
new reordered factor column