Lists the methods smart_cor() can compute for two variable types.
Use it before forcing a method.
Examples
path = system.file("extdata", "gss_2024_casestudy.csv", package = "smartcor")
gss = read.csv(path)
available_methods(detect_type(gss$degree), detect_type(gss$happy))
#> # A tibble: 4 × 2
#> method label
#> <chr> <chr>
#> 1 polychoric Polychoric Correlation
#> 2 kendall Kendall's Tau-b
#> 3 spearman Spearman Rank Correlation
#> 4 gamma Goodman-Kruskal's Gamma