template_function: Bind two factors

View source: R/template_function.R

template_functionR 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

template_function(a, b)

Arguments

a

factor

b

factor

Value

factor

Examples

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

annack84/STMdevelopment documentation built on April 12, 2024, 6:46 p.m.