dumd function

count unique values in every columns for data.frame

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)

Arguments

  • x: A data.frame.

Returns

The simple data.frame of columns unique values count in x

Examples

dumd(iris) data(ToothGrowth) x = ToothGrowth dumd(ToothGrowth)
  • Maintainer: Xiaojie Sun
  • License: MIT + file LICENSE
  • Last published: 2025-03-05