adjust_factor: Adjust factors

View source: R/dal_adjust.R

adjust_factorR Documentation

Adjust factors

Description

Converts a vector into a factor with specified levels and labels

Usage

adjust_factor(value, ilevels, slevels)

Arguments

value

vector to be converted into factor

ilevels

order for categorical values

slevels

labels for categorical values

Value

returns an adjusted factor


daltoolbox documentation built on Nov. 3, 2024, 9:06 a.m.