paste_factors: Combine two factors, preserving level order

Description Usage Arguments Value

View source: R/utils.R

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 April 3, 2018, 11:05 a.m.