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 Nov. 14, 2026, 1:08 a.m.