fct_relevel_base {ggEDA}R Documentation

Relevel Factor by Specified Levels

Description

Reorder the levels of a factor by moving specified levels to a new position.

Usage

fct_relevel_base(x, ..., after = 0)

Arguments

x

A factor to be releveled.

...

Levels to move in the factor.

after

A numeric scalar specifying the position after which the moved levels should be placed. Use 0 to place them at the front.

Value

A factor with the specified levels moved to the chosen position.


[Package ggEDA version 0.1.0 Index]