Pregunta:
What is a factor variable and how can you create one in R?
Autor: Zhasmina Yanislavova TachevaRespuesta:
A factor variable is a variable that can take on a limited number of discrete values, i.e. a categorical variable. mtcars$gear_factor<-as.factor(mtcars$gear)
0 / 5 (0 calificaciones)
1 answer(s) in total