Learn R Programming

tidystringdist (version 0.1.4)

tidy_comb_all: Tidy combine all

Description

Get all combinations from a dataframe column

Usage

tidy_comb_all(data, ...)

# S3 method for data.frame tidy_comb_all(data, ...)

# S3 method for default tidy_comb_all(data, ...)

Arguments

data

a list or a data.frame with the elements to combine

...

if data is a data.frame, the col where the words to combine are

Value

a tibble with all possible combination of elements from a list

Examples

Run this code
# NOT RUN {
tidy_comb_all(iris, Species)
tidy_comb_all(state.name)

# }

Run the code above in your browser using DataLab