fbind: Bind two factors

Description Usage Arguments Value Examples

View source: R/fbind.R

Description

Create a new factor from two existing factors, where the new factors levls are the union of the levels of the input factors.

Usage

1
fbind(a, b)

Arguments

a

a factor

b

another factor

Value

a new factor

Examples

1
fbind(iris$Species[c(1, 51, 101)], PlantGrowth$group[c(1, 11, 21)])

kelly-sovacool/foofactors documentation built on Jan. 28, 2020, 12:04 a.m.