count unique values in every columns for data.frame
in geo analysis,this function can help you simplify pdata, delete columns with unique values,which can't be used as group vector
dumd(x)
x
: A data.frame.The simple data.frame of columns unique values count in x
dumd(iris) data(ToothGrowth) x = ToothGrowth dumd(ToothGrowth)