Determine pairwise structural mappings

determine_mapping(df, ..., listviewer = TRUE)

Arguments

df

a data frame

...

columns or a tidyselect specification

listviewer

logical. defaults to TRUE to view output using the listviewer package

Value

description of mappings

Examples


iris %>%
determine_mapping(listviewer = FALSE)
#> $`1 - 1 mapping`
#> character(0)
#> 
#> $`1 - many mapping`
#> character(0)
#> 
#> $`many - 1 mapping`
#> character(0)
#> 
#> $`many - many mapping`
#>  [1] "Sepal.Width and Sepal.Length"  "Petal.Length and Sepal.Length"
#>  [3] "Petal.Length and Sepal.Width"  "Petal.Width and Sepal.Length" 
#>  [5] "Petal.Width and Sepal.Width"   "Petal.Width and Petal.Length" 
#>  [7] "Species and Sepal.Length"      "Species and Sepal.Width"      
#>  [9] "Species and Petal.Length"      "Species and Petal.Width"      
#>