uniqueID: Find unique identifier for a specified dataframe

View source: R/functions.R

uniqueIDR Documentation

Find unique identifier for a specified dataframe

Description

uniqueID() When used with lapply on a data frame it counts the number of unique variables in each column

Usage

uniqueID(x)

Arguments

x

a data frame

Value

The number of unique variables by column. The unique ID should equal the total number of observations in the dataframe.

Examples

lapply(dataframe, FUN = uniqueID)


MacDonaldMichael1/jgNutritionTools documentation built on Sept. 17, 2022, 6:39 a.m.