Learn R Programming

distrr (version 0.0.6)

extract_unique: Functions to be used in conjunction with 'dcc' family

Description

Functions to be used in conjunction with 'dcc' family

Usage

extract_unique(df)

extract_unique2(df)

extract_unique3(df)

extract_unique4(df)

extract_unique5(df)

Arguments

df

a data frame

Value

a list whose elements are character vectors of the unique values of each column

Examples

Run this code
# NOT RUN {
data("invented_wages")
tmp <- extract_unique(df = invented_wages[ , c("gender", "sector")])
tmp
str(tmp)
# }

Run the code above in your browser using DataLab