fbind: Bind two factors Create a new factor from two existing...

Description Usage Arguments Value Examples

View source: R/LearnRpackage.R

Description

Bind two factors 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
fbind(iris$Species[c(1, 51, 101)], PlantGrowth$group[c(1, 11, 21)])

chencanyi1997/LearnRpackage documentation built on Dec. 29, 2019, 6:01 a.m.