For example, if we have a data frame called x in R with a column which have some levels and we want to obtain that levels as strings, this should work:
levels(x$column)[x$column]
Anyone can explain me how this R syntax works?
Thanks for your help