expandlevels: Add levels to a factor

View source: R/primitives.R

expandlevelsR Documentation

Add levels to a factor

Description

Add levels to a factor

Usage

expandlevels(x, levels)

Arguments

x

An atomic vector.

levels

Character vector of factor levels.

Value

A factor including the additional levels.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.