Skip to contents

This function extracts the reference level for each categorical variable in the data. The reference level is the first level encountered for each categorical variable.

Usage

getRefLevel(data)

Arguments

data

The data frame containing the categorical variables.

Value

A list containing the reference level for each categorical variable.