This function launches a shiny app in a web browser in order to do interactive reordering of the levels of a categorical variable (character or factor).
iorder(obj = NULL, var_name = NULL)
The function launches a shiny app in the system web browser. The reordering code is returned in he console when the app is closed with the "Done" button.
The generated convert the variable into a factor, as only those allow for levels ordering.
if (FALSE) { # \dontrun{
data(hdv2003)
iorder(hdv2003, "qualif")
} # }