Learn R Programming

tinyarray (version 2.4.3)

dumd: count unique values in every columns for data.frame

Description

in geo analysis,this function can help you simplify pdata, delete columns with unique values,which can't be used as group vector

Usage

dumd(x)

Value

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

Arguments

x

A data.frame.

Examples

Run this code
dumd(iris)
data(ToothGrowth)
x = ToothGrowth
dumd(ToothGrowth)

Run the code above in your browser using DataLab