This function determines the type of the independent variable based on its data type and the number of unique values.

determine_independent_variable(independent_var)

Arguments

independent_var

A vector representing the independent variable.

Value

A character string indicating the type of the independent variable.