.factor_with_attr {volker}R Documentation

Create a factor vector and preserve all attributes

Description

Create a factor vector and preserve all attributes

Usage

.factor_with_attr(x, levels = NULL)

Arguments

x

The source value, usually a character vector

levels

The new levels

Value

A factor vector with the new levels


[Package volker version 3.0.0 Index]