Package: smartcor
Title: Automatic Correlation Method Selection Based on Variable Types
Version: 1.0.1
Authors@R: c(
    person("M.", "Harshvardhan",
           email = "harshvardhan@aus.edu",
           role = c("aut", "cre", "cph")),
    person("Pritam", "Ranjan",
           email = "pritamr@iimidr.ac.in",
           role = c("aut", "cph"))
    )
Description: Detects variable types (continuous, count, binary, ordinal,
    categorical) and selects the appropriate correlation method for each
    pair. Supports Pearson, Spearman, Kendall's tau, point-biserial,
    rank-biserial, phi, tetrachoric, polychoric, polyserial, Cramer's V,
    Tschuprow's T, Theil's U, Yule's Q, and Goodman-Kruskal's gamma, each
    with a confidence interval and p-value. Explains the selection
    rationale in the output, follows tidy data principles, and works in
    both interactive and scripted workflows. The methodology is described
    in Harshvardhan and Ranjan (2026) <doi:10.48550/arXiv.2607.22285>.
License: GPL (>= 3)
URL: https://harshvardhaniimi.github.io/smartcor/,
        https://github.com/harshvardhaniimi/smartcor
BugReports: https://github.com/harshvardhaniimi/smartcor/issues
Encoding: UTF-8
RoxygenNote: 7.3.3
Depends: R (>= 3.6.0)
Imports: cli (>= 3.0.0), generics, ggplot2 (>= 3.4.0), graphics,
        grDevices, mvtnorm, polycor, rlang (>= 1.0.0), stats, tibble,
        utils, withr
Suggests: knitr, MASS, rmarkdown, testthat (>= 3.0.0)
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-08-04 17:52:25 UTC; harshvardhan
Author: M. Harshvardhan [aut, cre, cph],
  Pritam Ranjan [aut, cph]
Maintainer: M. Harshvardhan <harshvardhan@aus.edu>
Repository: CRAN
Date/Publication: 2026-08-09 07:30:02 UTC
