reorder_levels: Re-order levels of a factor

Description Usage Arguments Value Author(s)

View source: R/data_manipulation.R

Description

Re-orders the levels of a factor by a vector of new positions.

Usage

1
reorder_levels(x, positions)

Arguments

x

factor

positions

vector of positions

Value

factor

Author(s)

Martin Schmettow


schmettow/mascutils documentation built on May 12, 2020, 11:39 a.m.