{
  "_id": "6a3a4a1f6265ec60d620cd5e",
  "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-06-23 08:52:35 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": "a84d85b150a3c9f40cf12eb58755024a",
  "_user": "weksi-budiaji",
  "_type": "src",
  "_file": "kmed_0.4.2.tar.gz",
  "_fileid": "181ea6df0af856292d5dbaa56630576dcc866d00dbc860209625d1aa296044ac",
  "_filesize": 906388,
  "_sha256": "181ea6df0af856292d5dbaa56630576dcc866d00dbc860209625d1aa296044ac",
  "_created": "2026-06-23T08:52:35.000Z",
  "_published": "2026-06-23T08:55:59.960Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82914784627,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7816042143"
    },
    {
      "job": 82914784580,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816026715"
    },
    {
      "job": 82914784559,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7816022267"
    },
    {
      "job": 82914784570,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816023730"
    },
    {
      "job": 82914279119,
      "time": 162,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7815977373"
    },
    {
      "job": 82914784569,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816014970"
    },
    {
      "job": 82914784600,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7816008365"
    },
    {
      "job": 82914784588,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7816009215"
    },
    {
      "job": 82914784593,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7816012264"
    }
  ],
  "_buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179",
  "_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",
    "followers": 0
  },
  "_downloads": {
    "count": 455,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kmed"
  },
  "_searchresults": 142,
  "_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.1522883443830567,
  "_indexed": true,
  "_nocasepkg": "kmed",
  "_universes": [
    "weksi-budiaji"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-23T08:55:17.000Z",
      "distro": "noble",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "f966427b9d0ef20b87ad9283bcb9d2ded1c7c47458b82eb537422102b23acde8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-23T08:54:35.000Z",
      "distro": "noble",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "9edff1c9293dc4d50042558dfef7734220a9ae6de1a2f9ba5b312d89565c040c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-23T08:54:34.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "6d6107ed3c3500b11b6d7bdf6dcd0d931ebadb4b6ad8d0b7ccb22ecf84dd4d81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-23T08:54:36.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "4fc57a26ae48503df0628b087411963d070f5c3506086cdebd40a9320b10e248",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.2",
      "date": "2026-06-23T08:54:31.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "1cef6d1a712c8c7e104970540a59e9ad1e05f44e55babe5c2c58af794b1b78a5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-23T08:53:41.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "88802d34a01becdef8cf8084a7467d175d77375cf523dd5984582ffe1b38438a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-23T08:53:45.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "3fa2f8be7d39af03644b70dd2c46764fa160b0757b1a8998aa5b70376103cc94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-23T08:53:52.000Z",
      "commit": "524e9900595f54da62981f1eb84215de44f1036b",
      "fileid": "f24b1381a6109784a6724ffb02d73dcf1ee10fb8d314d0c32a2245e8b151aa60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/weksi-budiaji/actions/runs/28014144179"
    }
  ]
}