How create new column by values from existing column in R I have one data frame dt, with a column named especie, with a lot of species of whales.