joinf: Join factors

View source: R/tools.R

joinfR Documentation

Join factors

Description

Convenience function for joining factors.

Usage

joinf(...)

Arguments

...

One or more features to merge. Given as single vectors or data.frames. Accepted feature types are factor (preferred), booleans, integers (treated as categorical) or reals (which undergo automatic categorisation). NAs are not allowed.

Value

Joint factor, with levels l1 to l<n>. Vacant combinations are dropped.

Note

You can pass a single vector to this function to see how praznik interprets it.

Examples

joinf(c(1,2,1,2),c(1,1,2,2))

praznik documentation built on May 20, 2022, 5:06 p.m.