powered by
Get all combinations from a dataframe column or from a list
tidy_comb(data, base, ...)# S3 method for data.frame tidy_comb(data, base, ...)# S3 method for default tidy_comb(data, base, ...)
# S3 method for data.frame tidy_comb(data, base, ...)
# S3 method for default tidy_comb(data, base, ...)
data object containing the list of words, either a list or a data.frame
the base word to compare with all the words
if data is a data.frame, the col where the words to combine are
a tibble with all possible combination of elements from a list
# NOT RUN { tidy_comb(iris, "this", Species) tidy_comb(state.name, "Paris") # }
Run the code above in your browser using DataLab