_________ variables are categorical variables which can hold either string or numeric values.

_________ variables are categorical variables which can hold either string or numeric values. Correct Answer Factor

Factor variables are categorical variables that hold the string or numeric values. Factor variables are used in various types of graphics and particularly for statistical modelling where a correct number of degrees of freedom is assigned to them.

Related Questions

Let's say, you are working with categorical feature(s) and you have not looked at the distribution of the categorical variable in the test data. You want to apply one hot encoding (OHE) on the categorical feature(s). What challenges you may face if you have applied OHE on a categorical variable of train dataset?
How is a character string converted to a numeric vector in R using the as.numeric() function?