{
  "_id": "6a22729ccd65a98ecbd499a7",
  "Package": "DiscreteGapStatistic",
  "Type": "Package",
  "Title": "An Extension of the Gap Statistic for Ordinal/Categorical Data",
  "Version": "1.1.2",
  "Authors@R": "c(\nperson(\"Jeffrey\", \"Miecznikowski\", email=\"jcm38@buffalo.edu\", role = c(\"aut\")),\nperson(\"Eduardo\", \"Cortes\", email=\"ecortesg@buffalo.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = '0000-0002-0966-6488')) )",
  "Description": "The gap statistic approach is extended to estimate the\nnumber of clusters for categorical response format data. This\napproach and accompanying software is designed to be used with\nthe output of any clustering algorithm and with distances\nspecifically designed for categorical (i.e. multiple choice) or\nordinal survey response data.",
  "URL": "https://github.com/ecortesgomez/DiscreteGapStatistic",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"namespace\", \"rd\"))",
  "Config/pak/sysreqs": "cmake make libicu-dev libpng-dev libuv1-dev perl",
  "Repository": "https://ecortesgomez.r-universe.dev",
  "Date/Publication": "2026-03-30 03:56:35 UTC",
  "RemoteUrl": "https://github.com/ecortesgomez/discretegapstatistic",
  "RemoteRef": "HEAD",
  "RemoteSha": "023b690f1d92fc321ee729796c7938167fd798ce",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 06:49:13 UTC",
    "User": "root"
  },
  "Author": "Jeffrey Miecznikowski [aut],\nEduardo Cortes [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0966-6488>)",
  "Maintainer": "Eduardo Cortes <ecortesg@buffalo.edu>",
  "MD5sum": "d9280d54ee64546a0c0e98015b18f874",
  "_user": "ecortesgomez",
  "_type": "src",
  "_file": "DiscreteGapStatistic_1.1.2.tar.gz",
  "_fileid": "111928ed066719709d60c6e8db42bfd5ee73952b1547a5f0cfa77c239af94f08",
  "_filesize": 2176510,
  "_sha256": "111928ed066719709d60c6e8db42bfd5ee73952b1547a5f0cfa77c239af94f08",
  "_created": "2026-06-05T06:49:13.000Z",
  "_published": "2026-06-05T06:54:20.848Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79678517161,
      "time": 168,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7430570857"
    },
    {
      "job": 79678517148,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7430572430"
    },
    {
      "job": 79678517145,
      "time": 175,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7430572184"
    },
    {
      "job": 79678517150,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7430569499"
    },
    {
      "job": 79678517168,
      "time": 206,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7430572331"
    },
    {
      "job": 79678517154,
      "time": 266,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7430588936"
    },
    {
      "job": 79678517160,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7430563948"
    },
    {
      "job": 79678517166,
      "time": 250,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7430584526"
    },
    {
      "job": 79678120281,
      "time": 204,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430532063"
    },
    {
      "job": 79678517129,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430565569"
    },
    {
      "job": 79678517159,
      "time": 114,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7430558569"
    },
    {
      "job": 79678517149,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7430556876"
    },
    {
      "job": 79678517153,
      "time": 258,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7430591016"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ecortesgomez/discretegapstatistic",
  "_commit": {
    "id": "023b690f1d92fc321ee729796c7938167fd798ce",
    "author": "Cortes Gomez <ED33454@roswellpark.org>",
    "committer": "Cortes Gomez <ED33454@roswellpark.org>",
    "message": "- Simplified clusGapDiscr0\n- Added offset parameter to handle low variability vectors.\n",
    "time": 1774842995
  },
  "_maintainer": {
    "name": "Eduardo Cortes",
    "email": "ecortesg@buffalo.edu",
    "login": "ecortesgomez",
    "description": "",
    "uuid": 149265117,
    "orcid": "0000-0002-0966-6488"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "cultevo",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "pheatmap",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "Polychrome",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "ComplexHeatmap",
      "role": "Imports"
    },
    {
      "package": "cluster",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "bioDist",
      "role": "Imports"
    },
    {
      "package": "vegan",
      "role": "Imports"
    },
    {
      "package": "FD",
      "role": "Imports"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "nomclust",
      "role": "Suggests"
    }
  ],
  "_owner": "ecortesgomez",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "ecortesgomez",
      "count": 10,
      "uuid": 149265117
    }
  ],
  "_userbio": {
    "uuid": 149265117,
    "type": "user",
    "name": "ecortesgomez"
  },
  "_downloads": {
    "count": 154,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DiscreteGapStatistic"
  },
  "_devurl": "https://github.com/ecortesgomez/discretegapstatistic",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DiscreteGapStatistic.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ecortesgomez/discretegapstatistic",
  "_realowner": "ecortesgomez",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-10-25"
    },
    {
      "version": "1.0.0",
      "date": "2024-12-09"
    },
    {
      "version": "1.1.2",
      "date": "2025-03-06"
    }
  ],
  "_exports": [
    "BhattacharyyaDist_rcpp",
    "ChisqDist_rcpp",
    "clusGapDiscr",
    "clusterFunSel",
    "DGSrun",
    "distanceHeat",
    "distancematrix",
    "findK",
    "kmodesD",
    "likert.heat.plot2",
    "plotMDS2",
    "ResHeatmap",
    "RetrClustAssign",
    "SimData"
  ],
  "_datasets": [
    {
      "name": "concussion",
      "title": "Concussion Data",
      "object": "concussion",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Q1: Headache",
        "Q2: Nausea",
        "Q3: Balance problems",
        "Q4: Dizziness",
        "Q5: Fatigue",
        "Q6: Sleep more",
        "Q7: Drowsiness",
        "Q8: Sensibility to light",
        "Q9: Sensibility to noice",
        "Q10: Irritability",
        "Q11: Sadness",
        "Q12: Nervousness",
        "Q13: More emotional",
        "Q14: Feeling slowed down",
        "Q15: Feeling mentally foggy",
        "Q16: Difficulty concentrating",
        "Q17: Difficulty remembering",
        "Q18: Visual problem",
        "Q19: Confusion",
        "Q20: Feeling clumsy",
        "Q21: Answer slowlier"
      ],
      "rows": 109,
      "table": true,
      "tojson": true
    },
    {
      "name": "mass",
      "title": "mass data",
      "object": "mass",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Gender",
        "I find math interesting.",
        "I get uptight during math tests.",
        "I think that I will use math in the future.",
        "Mind goes blank and I am unable to think clearly when doing my math test.",
        "Math relates to my life.",
        "I worry about my ability to solve math problems.",
        "I get a sinking feeling when I try to do math problems.",
        "I find math challenging.",
        "Mathematics makes me feel nervous.",
        "I would like to take more math classes.",
        "Mathematics makes me feel uneasy.",
        "Math is one of my favorite subjects.",
        "I enjoy learning with mathematics.",
        "Mathematics makes me feel confused."
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BhattacharyyaDist_rcpp",
      "title": "Bhattacharyya Distance via Rcpp",
      "topics": [
        "BhattacharyyaDist_rcpp"
      ]
    },
    {
      "page": "ChisqDist_rcpp",
      "title": "Chi-square Distance via Rcpp",
      "topics": [
        "ChisqDist_rcpp"
      ]
    },
    {
      "page": "clusGapDiscr",
      "title": "Discrete application of clusGap",
      "topics": [
        "clusGapDiscr"
      ]
    },
    {
      "page": "clusGapDiscr0",
      "title": "Discrete application of clusGap - core function.",
      "topics": [
        "clusGapDiscr0"
      ]
    },
    {
      "page": "clusterFunSel",
      "title": "Clustering generating function",
      "topics": [
        "clusterFunSel"
      ]
    },
    {
      "page": "concussion",
      "title": "Concussion Data",
      "topics": [
        "concussion"
      ]
    },
    {
      "page": "DGSrun",
      "title": "Run the Discrete Gap Statistic workflow and save plots",
      "topics": [
        "DGSrun"
      ]
    },
    {
      "page": "distanceHeat",
      "title": "Sample-to-sample heatmap",
      "topics": [
        "distanceHeat"
      ]
    },
    {
      "page": "distancematrix",
      "title": "Calculate categorical distance matrix for discrete data",
      "topics": [
        "distancematrix"
      ]
    },
    {
      "page": "findK",
      "title": "Criteria to determine number of clusters k",
      "topics": [
        "findK"
      ]
    },
    {
      "page": "kmodesD",
      "title": "Adapted k-modes algorithm",
      "topics": [
        "kmodesD"
      ]
    },
    {
      "page": "likert.heat.plot2",
      "title": "Summary Heatmap for categorical data",
      "topics": [
        "likert.heat.plot2"
      ]
    },
    {
      "page": "mass",
      "title": "mass data",
      "topics": [
        "mass"
      ]
    },
    {
      "page": "plotMDS2",
      "title": "MDS Plots for Categorical Data",
      "topics": [
        "plotMDS2"
      ]
    },
    {
      "page": "ResHeatmap",
      "title": "Discrete Data Heatmap",
      "topics": [
        "ResHeatmap"
      ]
    },
    {
      "page": "RetrClustAssign",
      "title": "Retrieve cluster assignments from a DiscreteGapStatistic heatmap run",
      "topics": [
        "RetrClustAssign"
      ]
    },
    {
      "page": "SimData",
      "title": "Simulate Data",
      "topics": [
        "SimData"
      ]
    }
  ],
  "_readme": "https://github.com/ecortesgomez/discretegapstatistic/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ade4",
    "ape",
    "backports",
    "base64enc",
    "Biobase",
    "BiocGenerics",
    "bioDist",
    "bslib",
    "cachem",
    "checkmate",
    "circlize",
    "cli",
    "clue",
    "cluster",
    "codetools",
    "colorspace",
    "combinat",
    "ComplexHeatmap",
    "cpp11",
    "crayon",
    "cultevo",
    "data.table",
    "digest",
    "doParallel",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "FD",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "geometry",
    "GetoptLong",
    "ggplot2",
    "ggrepel",
    "GlobalOptions",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "IRanges",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "linprog",
    "lpSolve",
    "magic",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "memoise",
    "mgcv",
    "mime",
    "nlme",
    "nnet",
    "permute",
    "pheatmap",
    "pillar",
    "pixmap",
    "pkgconfig",
    "plyr",
    "png",
    "Polychrome",
    "pspearman",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "reshape2",
    "rjson",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S4Vectors",
    "S7",
    "sass",
    "scales",
    "scatterplot3d",
    "shape",
    "sp",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.5440680443502757,
  "_indexed": true,
  "_nocasepkg": "discretegapstatistic",
  "_universes": [
    "ecortesgomez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-05T06:51:56.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "bb3f9c3ddea92e1f297c5ca41f4cf8f76a2bb19a53c02d3744ca1c48c94e7997",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-05T06:51:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "164771e2ce9461385bc9bb5b12a691d80f13b53e546d0b4ac00dc04f5ba835a4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-05T06:52:01.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "b2a1d84efc386a94b2fdcce4de3c4a3817f54015bf009223ec4b303256812191",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-05T06:51:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "7abafee36acb8bd2745c39c5f90cc42616d9ef1c2b4310aa0fe56b2418fc2406",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-06-05T06:52:06.000Z",
      "arch": "aarch64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "31265228f8c8e88f7089c1d31f07881ce646b3c7f20cc1f5886d0aeb2e9351e6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-06-05T06:52:54.000Z",
      "arch": "x86_64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "8b4897b8f8b2c8ef3f1a1d88ec272f29256ba5f965eb3e68389a9e40902cba83",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-06-05T06:51:28.000Z",
      "arch": "aarch64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "587531693c17cf0d0c51b52c62818985ac85c9f68f2d2d7973900af05b18ed2d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-06-05T06:52:34.000Z",
      "arch": "x86_64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "0af25652591f4b4c4e6c363f3ee6c8c51f2c50db5cdba4a07d5243ed3dd63983",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-06-05T06:51:59.000Z",
      "arch": "emscripten",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "3aadf034f954096d52533b530e8648b778c6cd93c717753c286c7a79dccff3ae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-06-05T06:50:36.000Z",
      "arch": "x86_64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "928c84d1414e51df73c43ced294cebe1606b56e00cd2cca7517c9ca20f582973",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-06-05T06:50:32.000Z",
      "arch": "x86_64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "7faf65a82e0d8edcee8c162afb8fb66caf6db215d51b1fc15abbf1bc859da6dc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-06-05T06:51:02.000Z",
      "arch": "x86_64",
      "commit": "023b690f1d92fc321ee729796c7938167fd798ce",
      "fileid": "561924f994863d75d2cfcee75b90836975db90a9ee7a3a82b502fea3a4a8038d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ecortesgomez/actions/runs/27000000607"
    }
  ]
}