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 factor's levels are the union of the levels of the input factors.

Usage

1
fbind(a, b)

Arguments

a

factor

b

factor

Value

factor

Examples

1
2
3
4
fbind(iris$Species[c(1, 51, 101)], PlantGrowth$group[c(1, 11, 21)])
fbind(iris$Species[c(2, 52, 102)], PlantGrowth$group[c(1, 10, 20)])

Also: Hello, Alex. Greetings from the internet.

gronert-m/foofactors documentation built on Dec. 25, 2021, 2:25 a.m.