paste_factors: Combine two factors, preserving level order

Description Usage Arguments Value

Description

Combine two factors, preserving level order

Usage

1
paste_factors(f1, f2)

Arguments

f1

First factor

f2

Second factor

Value

Entries of f1 and f2 are converted to character, pasted, and converted back to factor with levels in original order (with f2 levels changing fastest, f1 slowest).


kleinschmidt/daver documentation built on May 20, 2019, 12:33 p.m.