fbind: Bind two factors

View source: R/fbind.R

fbindR Documentation

Bind two factors

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

fbind(a, b)

Arguments

a

factor

b

factor

Value

factor

Examples

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

sutsabs/foofactors documentation built on March 20, 2022, 7:24 p.m.