df_ue
find unique elements plus matching services
df_ue(df, coln, pattern = NULL)
a dataframe, include columns xvar and yvar
unquote column name, if `coln`="cnames", then return colnames
`NULL`, else match pattern in unique coln values
unique values of a column
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
df_ue(iris,Species)
#> [1] "setosa" "versicolor" "virginica"
df_ue(iris,Species,"virg")
#> [1] "virginica"