Please use dplyr
install.packages(“dplyr”)
library(dplyr)
First:
Object <- rename(muestra, Autos = genero1)
(Autos is the new column name, that replace genero1 column name.)
Second: You may recode:
distinct(Object, Autos)
Object$Autos <- recode(Object$Autos,
Acción = "Audi",
Action = "Audi")
(Where Acción and Action are chenged by “Audi”)
Greetings!
Miguel Angel Bustos