Unclass: Unclasses and removes the levels of a factor.

View source: R/variable.R

UnclassR Documentation

Unclasses and removes the levels of a factor.

Description

Unclasses and removes the levels of a factor.

Usage

Unclass(x, warn = TRUE, use.numeric.levels = TRUE)

Arguments

x

A factor.

warn

Show warning.

use.numeric.levels

If TRUE, numeric factor levels are used as the values of the output, else levels are output as 1, 2, 3, ...


Displayr/flipTransformations documentation built on June 2, 2025, 12:51 p.m.