{
  "_id": "6ad1eddca6a61792ed76c0bb",
  "Package": "smartcor",
  "Title": "Automatic Correlation Method Selection Based on Variable Types",
  "Version": "1.0.1",
  "Authors@R": "c(\nperson(\"M.\", \"Harshvardhan\",\nemail = \"harshvardhan@aus.edu\",\nrole = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Pritam\", \"Ranjan\",\nemail = \"pritamr@iimidr.ac.in\",\nrole = c(\"aut\", \"cph\"))\n)",
  "Description": "Detects variable types (continuous, count, binary,\nordinal, categorical) and selects the appropriate correlation\nmethod for each pair. Supports Pearson, Spearman, Kendall's\ntau, point-biserial, rank-biserial, phi, tetrachoric,\npolychoric, polyserial, Cramer's V, Tschuprow's T, Theil's U,\nYule's Q, and Goodman-Kruskal's gamma, each with a confidence\ninterval and p-value. Explains the selection rationale in the\noutput, follows tidy data principles, and works in both\ninteractive and scripted workflows. The methodology is\ndescribed in Harshvardhan and Ranjan (2026)\n<doi:10.48550/arXiv.2607.22285>.",
  "License": "GPL (>= 3)",
  "URL": "https://harshvardhaniimi.github.io/smartcor/,\nhttps://github.com/harshvardhaniimi/smartcor",
  "BugReports": "https://github.com/harshvardhaniimi/smartcor/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Repository": "https://harshvardhaniimi.r-universe.dev",
  "Date/Publication": "2026-08-17 13:10:41 UTC",
  "RemoteUrl": "https://github.com/harshvardhaniimi/smartcor",
  "RemoteRef": "HEAD",
  "RemoteSha": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
  "RemoteSubdir": "packages/smartcor",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-16 08:23:42 UTC",
    "User": "root"
  },
  "Author": "M. Harshvardhan [aut, cre, cph],\nPritam Ranjan [aut, cph]",
  "Maintainer": "M. Harshvardhan <harshvardhan@aus.edu>",
  "_user": "harshvardhaniimi",
  "_type": "src",
  "_file": "smartcor_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/959aa6a3915ad835540fe18c7720bf51e365a474c7a1e6c1a68d1b441e61e5aa",
  "_filesize": 838305,
  "_sha256": "959aa6a3915ad835540fe18c7720bf51e365a474c7a1e6c1a68d1b441e61e5aa",
  "_expires": "2027-01-24T09:26:50.000Z",
  "_created": "2026-10-16T08:23:42.000Z",
  "_published": "2026-10-16T09:26:52.056Z",
  "_buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116882693112,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12034078210"
    },
    {
      "job": 116882693172,
      "time": 225,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12034876530"
    },
    {
      "job": 116882693218,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12037077482"
    },
    {
      "job": 116882693245,
      "time": 239,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12037605476"
    },
    {
      "job": 116881429194,
      "time": 206,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12034491156"
    },
    {
      "job": 116882693313,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12034915966"
    },
    {
      "job": 116882693293,
      "time": 188,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12034876366"
    },
    {
      "job": 116882693157,
      "time": 179,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12034956017"
    },
    {
      "job": 116882693314,
      "time": 208,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12033828411"
    }
  ],
  "_upstream": "https://github.com/harshvardhaniimi/smartcor",
  "_commit": {
    "id": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
    "author": "Harshvardhan <hvsc1708@gmail.com>",
    "committer": "Harshvardhan <hvsc1708@gmail.com>",
    "message": "Update docs: CRAN + PyPI availability, dual-language home page with executed examples\n",
    "time": 1786972241
  },
  "_maintainer": {
    "name": "M. Harshvardhan",
    "email": "harshvardhan@aus.edu",
    "login": "harshvardhaniimi",
    "linkedin": "in/harshvardhaniimi",
    "description": "Assistant Professor of Information Systems & Analytics, American University of Sharjah · ML, applied statistics & business decision-making",
    "uuid": 40472851
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "polycor",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "harshvardhaniimi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 9
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "harshvardhaniimi",
      "count": 12,
      "uuid": 40472851
    }
  ],
  "_userbio": {
    "uuid": 40472851,
    "type": "user",
    "name": "Harshvardhan",
    "followers": 43,
    "description": "Assistant Professor of Information Systems & Analytics, American University of Sharjah · ML, applied statistics & business decision-making"
  },
  "_downloads": {
    "count": 243,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/smartcor"
  },
  "_devurl": "https://github.com/harshvardhaniimi/smartcor",
  "_pkgdown": "https://harshvardhaniimi.github.io/smartcor/",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/smartcor.html"
  ],
  "_homeurl": "https://github.com/harshvardhaniimi/smartcor",
  "_realowner": "harshvardhaniimi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2026-08-09"
    }
  ],
  "_exports": [
    "available_methods",
    "compare_methods",
    "detect_type",
    "ggcor_heatmap",
    "ggcor_method_heatmap",
    "plot_cor_heatmap",
    "smart_cor",
    "smart_cor_df",
    "smart_cormat",
    "test_bivariate_normality",
    "tidy"
  ],
  "_help": [
    {
      "page": "available_methods",
      "title": "Which Methods Apply to a Pair of Variable Types",
      "topics": [
        "available_methods"
      ]
    },
    {
      "page": "compare_methods",
      "title": "Run Every Applicable Method on One Pair",
      "topics": [
        "compare_methods"
      ]
    },
    {
      "page": "detect_type",
      "title": "Detect the Statistical Type of a Variable",
      "topics": [
        "detect_type"
      ]
    },
    {
      "page": "ggcor",
      "title": "ggplot2 Heatmaps for Smart Correlation Matrices",
      "topics": [
        "ggcor",
        "ggcor_heatmap",
        "ggcor_method_heatmap"
      ]
    },
    {
      "page": "plot.smartcormat",
      "title": "Plot a Correlation Heatmap",
      "topics": [
        "plot.smartcormat",
        "plot_cor_heatmap"
      ]
    },
    {
      "page": "print.smartcor",
      "title": "Print a smartcor Object",
      "topics": [
        "print.smartcor"
      ]
    },
    {
      "page": "print.smartcormat",
      "title": "Print a smartcormat Object",
      "topics": [
        "print.smartcormat"
      ]
    },
    {
      "page": "smart_cor",
      "title": "Choose and Compute a Correlation",
      "topics": [
        "smart_cor"
      ]
    },
    {
      "page": "smart_cor_df",
      "title": "Correlation Matrix as Plain Data Frames",
      "topics": [
        "smart_cor_df"
      ]
    },
    {
      "page": "smart_cormat",
      "title": "Build a Mixed-Type Correlation Matrix",
      "topics": [
        "smart_cormat"
      ]
    },
    {
      "page": "test_bivariate_normality",
      "title": "Test Bivariate Normality for Two Ordinal Variables",
      "topics": [
        "test_bivariate_normality"
      ]
    },
    {
      "page": "tidy.smartcor",
      "title": "Tidy a smartcor Object",
      "topics": [
        "tidy.smartcor"
      ]
    },
    {
      "page": "tidy.smartcor_comparison",
      "title": "Tidy a smartcor Comparison",
      "topics": [
        "tidy.smartcor_comparison"
      ]
    },
    {
      "page": "tidy.smartcormat",
      "title": "Tidy a smartcormat Object",
      "topics": [
        "tidy.smartcormat"
      ]
    }
  ],
  "_readme": "https://github.com/harshvardhaniimi/smartcor/raw/HEAD/packages/smartcor/README.md",
  "_rundeps": [
    "admisc",
    "cli",
    "cpp11",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "polycor",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "theory.Rmd",
      "filename": "theory.html",
      "title": "Choosing the Right Correlation Method: Theory and Rationale",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Variable Types",
        "Correlation Methods by Variable-Type Combination",
        "Continuous + Continuous: Pearson Correlation",
        "Continuous + Binary: Point-Biserial Correlation",
        "Binary + Binary: Phi Coefficient",
        "Binary + Binary (Latent Normal): Tetrachoric Correlation",
        "Ordinal + Ordinal: Polychoric Correlation",
        "Continuous + Ordinal: Polyserial Correlation",
        "Binary + Ordinal: Rank-Biserial Correlation",
        "Categorical + Categorical: Cramer's V",
        "Other Combinations",
        "Why Not Always Use Pearson?",
        "The Latent Normality Question",
        "Summary of Method Selection Logic",
        "References"
      ],
      "created": "2026-07-24 09:10:33",
      "modified": "2026-08-04 17:36:20",
      "commits": 2
    },
    {
      "source": "inference.Rmd",
      "filename": "inference.html",
      "title": "Confidence intervals and p-values",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Every estimate ships with its uncertainty",
        "The inference payload",
        "Analytic intervals are the default",
        "The bootstrap argument",
        "The null hypothesis is method-specific",
        "Reading interval widths",
        "Summary"
      ],
      "created": "2026-07-24 09:10:33",
      "modified": "2026-07-24 09:10:33",
      "commits": 1
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Getting Started with smartcor",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why smartcor?",
        "Installation",
        "Quick Start",
        "Pairwise Correlation",
        "Ordinal Variables",
        "Categorical Variables",
        "Override Type Detection",
        "Force a Specific Method",
        "Correlation Matrix",
        "Tidy Output",
        "Available Methods",
        "Method Selection Logic",
        "The Latent-Normality Decision",
        "Dependencies"
      ],
      "created": "2026-07-24 09:10:33",
      "modified": "2026-08-17 13:10:41",
      "commits": 2
    }
  ],
  "_score": 4.829303772831025,
  "_indexed": true,
  "_nocasepkg": "smartcor",
  "_universes": [
    "harshvardhaniimi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-16T08:25:41.000Z",
      "distro": "resolute",
      "commit": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
      "fileid": "https://r2.ropensci.org/75c77bfa839f1541e5494310dfd658f3412a8d39007dbe30215292dce0ca0e86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-10-16T08:25:39.000Z",
      "distro": "resolute",
      "commit": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
      "fileid": "https://r2.ropensci.org/f95d02c5635eb919456df017c16489346895cb90012fcdbc4aa134dc5724f823",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-16T09:23:00.000Z",
      "commit": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
      "fileid": "https://r2.ropensci.org/fcb67aee667f24f2078ca3433e15b12c865a6f78ac124a655c0d4cec249d4923",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-10-16T09:24:23.000Z",
      "commit": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
      "fileid": "https://r2.ropensci.org/438bd9c4d2b55f23f0cf6b5e09f37c58ae99321f161dc4dbc3e12ee4e9a16a80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-10-16T08:25:39.000Z",
      "commit": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
      "fileid": "https://r2.ropensci.org/5621a4a0cbc6338119ba0e0829c947705dd87529d756ec76581ddf668f70046f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-16T08:25:18.000Z",
      "commit": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
      "fileid": "https://r2.ropensci.org/f216b50e128175494601b309c73dcba1ca6283bddce89176d0a236a07aef788a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-16T08:24:53.000Z",
      "commit": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
      "fileid": "https://r2.ropensci.org/f89f0bf2d8e91b9c464ea97e71469bb44fd6827e6998bc20f985748308694e45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-10-16T08:24:53.000Z",
      "commit": "fd401729cfc9c47afb563fa8b44dd9923b84ad38",
      "fileid": "https://r2.ropensci.org/a5f4e5820cc0f4b4b93ba53507f7785974478f84a3c6eb186f9c1ceb6063f87a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/harshvardhaniimi/actions/runs/38872999207"
    }
  ]
}