Si x es tu vector, entonces: ```{r} x <- c(1,1,2,3,4) unique(x) ``` Si es un data frame: ```r df <- as.data.frame(a = c(1,1,2,3,4)) unique(df$a) ```