Learn R Programming

xpose (version 0.4.19)

reorder_factors: Reorder factors by numerical order

Description

Will for example convert `ETA(1)` to 1 create factors then generate labels by wrapping the digits with prefix and suffix.

Usage

reorder_factors(prefix, suffix = NULL)

Value

A modified tibble

Arguments

prefix

A prefix to be added in front of the factor digits.

suffix

A suffix to be added after the factor digits.