% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulation.R \name{getRefLevel} \alias{getRefLevel} \title{Get the reference level for categorical variables in the data} \usage{ getRefLevel(data) } \arguments{ \item{data}{The data frame containing the categorical variables.} } \value{ A list containing the reference level for each categorical variable. } \description{ 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. }