{
  "_id": "6a12bf03acfb0bcc41d1d66d",
  "Package": "kmed",
  "Type": "Package",
  "Title": "Distance-Based k-Medoids",
  "Version": "0.4.2",
  "Date": "2022-08-29",
  "Authors@R": "person(\"Weksi\",\"Budiaji\", email = \"budiaji@untirta.ac.id\", role = c(\"aut\",\"cre\"))",
  "Description": "Algorithms of distance-based k-medoids clustering: simple\nand fast k-medoids, ranked k-medoids, and increasing number of\nclusters in k-medoids. Calculate distances for mixed variable\ndata such as Gower, Podani, Wishart, Huang, Harikumar-PV, and\nAhmad-Dey. Cluster validation applies internal and relative\ncriteria. The internal criteria includes silhouette index and\nshadow values. The relative criterium applies bootstrap\nprocedure producing a heatmap with a flexible reordering matrix\nalgorithm such as complete, ward, or average linkages. The\ncluster result can be plotted in a marked barplot or pca\nbiplot.",
  "License": "GPL-3",
  "LazyData": "TRUE",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 09:00:00 UTC",
    "User": "root"
  },
  "Author": "Weksi Budiaji [aut, cre]",
  "Maintainer": "Weksi Budiaji <budiaji@untirta.ac.id>",
  "Repository": "https://weksi-budiaji.r-universe.dev",
  "Date/Publication": "2022-08-29 05:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/kmed",
  "RemoteRef": "HEAD",
  "RemoteSha": "524e9900595f54da62981f1eb84215de44f1036b",
  "MD5sum": "fa4f6587818b9df5ca0e22af913c480a",
  "_user": "weksi-budiaji",
  "_type": "src",
  "_file": "kmed_0.4.2.tar.gz",
  "_fileid": "0a04bf6c669f208bfd521e2b1174f7eea322e3825b3a8a4c4fd96e7a47f27c76",
  "_filesize": 902928,
  "_sha256": "0a04bf6c669f208bfd521e2b1174f7eea322e3825b3a8a4c4fd96e7a47f27c76",
  "_created": "2026-05-24T09:00:00.000Z",
  "_published": "2026-05-24T09:04:03.633Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77585438394,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183862636"
    },
    {
      "job": 77585438390,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183860528"
    },
    {
      "job": 77585438413,
      "time": 209,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183866977"
    },
    {
      "job": 77585438417,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183860297"
    },
    {
      "job": 77585272936,
      "time": 173,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183847035"
    },
    {
      "job": 77585438388,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183861091"
    },
    {
      "job": 77585438389,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183858232"
    },
    {
      "job": 77585438385,
      "time": 74,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183856193"
    },
    {
      "job": 77585438386,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183858014"
    }
  ],
  "_buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/kmed",
  "_commit": {
    "id": "524e9900595f54da62981f1eb84215de44f1036b",
    "author": "Weksi Budiaji <budiaji@untirta.ac.id>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.2\n",
    "time": 1661751602
  },
  "_maintainer": {
    "name": "Weksi Budiaji",
    "email": "budiaji@untirta.ac.id",
    "login": "weksi-budiaji",
    "description": "",
    "uuid": 25398962
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "weksi-budiaji",
      "count": 6,
      "uuid": 25398962
    }
  ],
  "_userbio": {
    "uuid": 25398962,
    "type": "user",
    "name": "weksi-budiaji"
  },
  "_downloads": {
    "count": 727,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kmed"
  },
  "_searchresults": 134,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kmed.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "weksi-budiaji",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2018-02-12"
    },
    {
      "version": "0.1.0",
      "date": "2018-08-07"
    },
    {
      "version": "0.2.0",
      "date": "2019-01-02"
    },
    {
      "version": "0.3.0",
      "date": "2019-06-14"
    },
    {
      "version": "0.4.0",
      "date": "2021-01-04"
    },
    {
      "version": "0.4.2",
      "date": "2022-08-29"
    }
  ],
  "_exports": [
    "barplotnum",
    "clustboot",
    "clustheatmap",
    "consensusmatrix",
    "cooccur",
    "csv",
    "distmix",
    "distNumeric",
    "fastkmed",
    "inckmed",
    "matching",
    "msv",
    "pcabiplot",
    "rankkmed",
    "sil",
    "skm"
  ],
  "_datasets": [
    {
      "name": "clust4",
      "title": "4-clustered data set",
      "object": "clust4",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "x2",
        "class"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    },
    {
      "name": "clust5",
      "title": "5-clustered data set",
      "object": "clust5",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "x2",
        "class"
      ],
      "rows": 800,
      "table": true,
      "tojson": true
    },
    {
      "name": "globalfood",
      "title": "Global food security index",
      "object": "globalfood",
      "class": [
        "data.frame"
      ],
      "fields": [
        "affordability",
        "availability",
        "safety",
        "resilience"
      ],
      "rows": 113,
      "table": true,
      "tojson": true
    },
    {
      "name": "heart",
      "title": "Heart Disease data set",
      "object": "heart",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "sex",
        "cp",
        "trestbps",
        "chol",
        "fbs",
        "restecg",
        "thalach",
        "exang",
        "oldpeak",
        "slope",
        "ca",
        "thal",
        "class"
      ],
      "rows": 297,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "barplotnum",
      "title": "Barplot of each cluster for numerical variables data set",
      "topics": [
        "barplotnum"
      ]
    },
    {
      "page": "clust4",
      "title": "4-clustered data set",
      "topics": [
        "clust4"
      ]
    },
    {
      "page": "clust5",
      "title": "5-clustered data set",
      "topics": [
        "clust5"
      ]
    },
    {
      "page": "clustboot",
      "title": "Bootstrap replications for clustering alorithm",
      "topics": [
        "clustboot"
      ]
    },
    {
      "page": "clustheatmap",
      "title": "Consensus matrix heatmap from A consensus matrix",
      "topics": [
        "clustheatmap"
      ]
    },
    {
      "page": "consensusmatrix",
      "title": "Consensus matrix from A matrix of bootstrap replicates",
      "topics": [
        "consensusmatrix"
      ]
    },
    {
      "page": "cooccur",
      "title": "Co-occurrence distance for binary/ categorical variables data",
      "topics": [
        "cooccur"
      ]
    },
    {
      "page": "csv",
      "title": "Centroid shadow value (CSV) index and plot",
      "topics": [
        "csv"
      ]
    },
    {
      "page": "distmix",
      "title": "Distances for mixed variables data set",
      "topics": [
        "distmix"
      ]
    },
    {
      "page": "distNumeric",
      "title": "A pair distance for numerical variables",
      "topics": [
        "distNumeric"
      ]
    },
    {
      "page": "fastkmed",
      "title": "Simple and fast k-medoid algorithm",
      "topics": [
        "fastkmed"
      ]
    },
    {
      "page": "globalfood",
      "title": "Global food security index",
      "topics": [
        "globalfood"
      ]
    },
    {
      "page": "heart",
      "title": "Heart Disease data set",
      "topics": [
        "heart"
      ]
    },
    {
      "page": "inckmed",
      "title": "Increasing number of clusters in k-medoids algorithm",
      "topics": [
        "inckmed"
      ]
    },
    {
      "page": "matching",
      "title": "A pair distance for binary/ categorical variables",
      "topics": [
        "matching"
      ]
    },
    {
      "page": "msv",
      "title": "Medoid shadow value (MSV) index and plot",
      "topics": [
        "msv"
      ]
    },
    {
      "page": "pcabiplot",
      "title": "Biplot of a PCA object",
      "topics": [
        "pcabiplot"
      ]
    },
    {
      "page": "rankkmed",
      "title": "Rank k-medoid algorithm",
      "topics": [
        "rankkmed"
      ]
    },
    {
      "page": "sil",
      "title": "Silhouette index and plot",
      "topics": [
        "sil"
      ]
    },
    {
      "page": "skm",
      "title": "Simple k-medoid algorithm",
      "topics": [
        "skm"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "kmedoid.Rmd",
      "filename": "kmedoid.html",
      "title": "kmed: Distance-Based K-Medoids",
      "author": "Weksi Budiaji",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "2. Distance Computation",
        "2.A. Numerical variables (distNumeric)",
        "2.A.1. Manhattan weighted by range (method = \"mrw\")",
        "2.A.2. squared Euclidean weighted by range (method = \"ser\")",
        "2.A.3. squared Euclidean weighted by squared range (method = \"ser.2\")",
        "2.A.4. squared Euclidean weighted by variance (method = \"sev\")",
        "2.A.5. squared Euclidean (method = \"se\")",
        "2.B. Binary or Categorical variables",
        "2.B.1. Simple matching (matching)",
        "2.B.2. Co-occurrence distance (cooccur)",
        "2.C. Mixed variables (distmix)",
        "2.C.1 Gower (method = \"gower\")",
        "2.C.2 Wishart (method = \"wishart\")",
        "2.C.3 Podani (method = \"podani\")",
        "2.C.4 Huang (method = \"huang\")",
        "2.C.5 Harikumar and PV (method = \"harikumar\")",
        "2.C.6 Ahmad and Dey (method = \"ahmad\")",
        "3. K-medoids algorithms",
        "3.A. Simple and fast k-medoids algorithm (fastkmed)",
        "3.B. K-medoids algorithm",
        "3.C. Rank k-medoids algorithm (rankkmed)",
        "3.D. Increasing number of clusters k-medoids algorithm (inckmed)",
        "3.E. Simple k-medoids algorithm (skm)",
        "4. Cluster validation",
        "4.A. Internal criteria",
        "4.A.1. Silhouette (sil)",
        "4.A.2. Centroid-based shadow value (csv)",
        "4.A.3. Medoid-based shadow value (msv)",
        "4.B. Relative criteria",
        "Step 1 Creating a matrix of bootstrap replicates",
        "Step 2 Transforming the bootstrap matrix into a consensus matrix",
        "Step 3 Visualizing the consensus matrix in a heatmap",
        "5. Cluster visualization",
        "A. Biplot",
        "B. Marked barplot",
        "References"
      ],
      "created": "2018-02-12 09:12:53",
      "modified": "2022-08-29 05:40:02",
      "commits": 6
    }
  ],
  "_score": 3.1271047983648077,
  "_indexed": true,
  "_nocasepkg": "kmed",
  "_universes": [
    "weksi-budiaji"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-24T09:01:57.000Z",
      "distro": "noble",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "83b22a1d8e964dd3d02281207c4a088aca437995ce88c1eb6f5f31d01c89fa1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-05-24T09:01:42.000Z",
      "distro": "noble",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "c6f73a9fc72bdf6f1debba3c1dbbc975a41871a9a44d55aa3b4a547102381354",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-24T09:02:41.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "0a141c010a221a7b8fd61c053cf0c3754f0699af621804fedd763c5ac91b20de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-05-24T09:01:47.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "e7dd4b3fcd49f9304ac0abee71369775cabc52c4187e86078c7ddac3f97971ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-05-24T09:02:10.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "82d679b26112afbd30f204b06ad83b6870be5634e1626e62e4b4f5ba9b675ea3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-24T09:01:12.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "7b27dc9cefb85832eb091c5eaf82999dd8546a08ce3d7bd7a248dc9024c852ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-24T09:01:02.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "33ed050b9c223b0cf5c7064aa65682f3b815adb6968bff4a068979c2022ca1ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-05-24T09:01:12.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "27cbbba39a699d26d5ac512cc4dbb01dbf80f6441f7447e9b38ed5a176082c9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/26356930753"
    }
  ]
}