NA
R/unique_na.R
unique_na.Rd
Returns the unique list of input, removing NA values, first
unique_na(x, to_unlist = FALSE)
input vector
boolean of whether to flatten the input with unlist(); default is FALSE
unlist()
FALSE
unique_na(c(1, 2, 3, 3, 4, NA))#> [1] 1 2 3 4