{
  "_id": "6b146e938f5a18dc34853d5a",
  "Package": "clusta",
  "Type": "Package",
  "Title": "Spectral, Distribution-Aware and Dynamic-Programming Clustering",
  "Version": "1.0-1",
  "Date": "2026-10-28",
  "Authors@R": "c(\nperson(\"Karuna G.\", \"Reddy\",\nemail = \"karuna.reddy@auckland.ac.nz\",\nrole  = c(\"aut\", \"cre\")),\nperson(\"Gabiriele\", \"Bulivou\",\nemail = \"gabiriele.bulivou@usp.ac.fj\",\nrole  = \"aut\"),\nperson(\"M. G. M.\", \"Khan\",\nemail = \"mgm.khan@usp.ac.fj\",\nrole  = \"aut\")\n)",
  "Description": "Provides dynamic-programming clustering methods for one or\nmore variables. For one variable, the package finds the\nglobally optimal contiguous partition for the stated objective.\nMultivariate methods use projection, separating directions,\nsequence order, graph structure, or spectral unfolding. The\nmain method is Spectral Mathematical Programming Dynamic\nProgramming clustering, or S-MPDP. It unfolds non-convex data\ninto one ordered signal and places cluster boundaries with a\ndistribution-aware dynamic program. The package also provides\ncluster diagnostics, stability analysis, evaluation metrics,\ncomparison methods, benchmark datasets, and base or 'ggplot2'\nfigures. The distribution-aware dynamic-programming component\nfollows Khan, Khan and Ahsan (2002)\n<doi:10.1177/0008068320020518>, Reddy and Khan (2018)\n<doi:10.1080/03610926.2018.1473609>, and Reddy and Khan (2020)\n<doi:10.1111/anzs.12301>. The exact one-dimensional clustering\ncomparison follows Wang and Song (2011)\n<doi:10.32614/RJ-2011-015>. The spectral graph component builds\non Shi and Malik (2000) <doi:10.1109/34.868688>, Ng, Jordan and\nWeiss (2002)\n<https://papers.nips.cc/paper/2092-on-spectral-clustering-analysis-and-an-algorithm>,\nand Zelnik-Manor and Perona (2004)\n<https://papers.nips.cc/paper/2619-self-tuning-spectral-clustering>.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/karunaredz/clusta",
  "BugReports": "https://github.com/karunaredz/clusta/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Author": "Karuna G. Reddy [aut, cre], Gabiriele Bulivou [aut], M. G. M.\nKhan [aut]",
  "Maintainer": "Karuna G. Reddy <karuna.reddy@auckland.ac.nz>",
  "Config/roxygen2/version": "8.0.0",
  "Packaged": {
    "Date": "2026-12-05 19:59:41 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-12-05 19:24:57 UTC",
  "RemoteUrl": "https://github.com/cran/clusta",
  "RemoteRef": "HEAD",
  "RemoteSha": "532c9ab7d55c2c72be81ca6493b7a5c9ea1a41cd",
  "_user": "cran",
  "_type": "src",
  "_file": "clusta_1.0-1.tar.gz",
  "_fileid": "https://r2.ropensci.org/6ebe0be62171194ff5f470d2c1b24b50fc9f251792461797abf2caec89a402f8",
  "_filesize": 965157,
  "_sha256": "6ebe0be62171194ff5f470d2c1b24b50fc9f251792461797abf2caec89a402f8",
  "_expires": "2027-03-15T20:05:37.000Z",
  "_created": "2026-12-05T19:59:41.000Z",
  "_published": "2026-12-05T20:05:39.325Z",
  "_upstream": "https://github.com/cran/clusta",
  "_status": "success",
  "_maintainer": {
    "name": "Karuna G. Reddy",
    "email": "karuna.reddy@auckland.ac.nz"
  },
  "_jobs": [
    {
      "job": 145807640895,
      "time": 321,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15950352337"
    },
    {
      "job": 145807640865,
      "time": 319,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15950523769"
    },
    {
      "job": 145806145878,
      "time": 307,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15950114300"
    },
    {
      "job": 145807640859,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15950742140"
    },
    {
      "job": 145807640882,
      "time": 238,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15950568360"
    },
    {
      "job": 145807640889,
      "time": 182,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15950816565"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/47562279368",
  "_commit": {
    "id": "532c9ab7d55c2c72be81ca6493b7a5c9ea1a41cd",
    "author": "Karuna G. Reddy <karuna.reddy@auckland.ac.nz>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0-1\n",
    "time": 1796498697
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "fitdistrplus",
      "role": "Imports"
    },
    {
      "package": "FitVerse",
      "version": ">= 1.0-2",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "cluster",
      "role": "Suggests"
    },
    {
      "package": "clue",
      "role": "Suggests"
    },
    {
      "package": "mclust",
      "role": "Suggests"
    },
    {
      "package": "dbscan",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "role": "Suggests"
    },
    {
      "package": "sClust",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0-1",
      "date": "2026-12-05"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clusta"
  },
  "_devurl": "https://github.com/karunaredz/clusta",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/clusta.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0-1",
      "date": "2026-12-05"
    }
  ],
  "_authors": [
    {
      "name": "Karuna G. Reddy",
      "email": "karuna.reddy@auckland.ac.nz",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Gabiriele Bulivou",
      "email": "gabiriele.bulivou@usp.ac.fj",
      "role": [
        "aut"
      ]
    },
    {
      "name": "M. G. M. Khan",
      "email": "mgm.khan@usp.ac.fj",
      "role": [
        "aut"
      ]
    }
  ],
  "_exports": [
    "autoplot.smpdp",
    "clusta",
    "clusta_compare",
    "clusta_elbow",
    "cluster_metrics",
    "cluster_stability",
    "dpareto",
    "friedman_ranks",
    "fviz_clusta",
    "gen_cassini",
    "gen_concentric_circles",
    "gen_non_convex",
    "gen_smiley",
    "gen_three_spirals",
    "gen_two_moons",
    "gen_v_shape",
    "mpdp",
    "ppareto",
    "qpareto",
    "run_clustering_benchmarks",
    "smpdp_sensitivity",
    "spectral_mpdp",
    "suggest_k"
  ],
  "_datasets": [
    {
      "name": "breast_cancer",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "breast_cancer",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30",
        "V31",
        "V32",
        "class"
      ],
      "rows": 569,
      "table": true,
      "tojson": true
    },
    {
      "name": "cassini",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "cassini",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y",
        "class"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "ceramic",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "ceramic",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Na2O",
        "MgO",
        "Al2O3",
        "SiO2",
        "K2O",
        "CaO",
        "TiO2",
        "Fe2O3",
        "MnO",
        "CuO",
        "ZnO",
        "PbO2",
        "Rb2O",
        "SrO",
        "Y2O3",
        "ZrO2",
        "P2O5",
        "class"
      ],
      "rows": 88,
      "table": true,
      "tojson": true
    },
    {
      "name": "glass",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "glass",
      "class": [
        "data.frame"
      ],
      "fields": [
        "RI",
        "Na",
        "Mg",
        "Al",
        "Si",
        "K",
        "Ca",
        "Ba",
        "Fe",
        "class"
      ],
      "rows": 214,
      "table": true,
      "tojson": true
    },
    {
      "name": "image_segmentation",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "image_segmentation",
      "class": [
        "data.frame"
      ],
      "fields": [
        "REGION.CENTROID.COL",
        "REGION.CENTROID.ROW",
        "REGION.PIXEL.COUNT",
        "SHORT.LINE.DENSITY.5",
        "SHORT.LINE.DENSITY.2",
        "VEDGE.MEAN",
        "VEDGE.SD",
        "HEDGE.MEAN",
        "HEDGE.SD",
        "INTENSITY.MEAN",
        "RAWRED.MEAN",
        "RAWBLUE.MEAN",
        "RAWGREEN.MEAN",
        "EXRED.MEAN",
        "EXBLUE.MEAN",
        "EXGREEN.MEAN",
        "VALUE.MEAN",
        "SATURATION.MEAN",
        "HUE.MEAN",
        "class"
      ],
      "rows": 2310,
      "table": true,
      "tojson": true
    },
    {
      "name": "raisin",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "raisin",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Area",
        "MajorAxisLength",
        "MinorAxisLength",
        "Eccentricity",
        "ConvexArea",
        "Extent",
        "Perimeter",
        "class"
      ],
      "rows": 900,
      "table": true,
      "tojson": true
    },
    {
      "name": "rice",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "rice",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Area",
        "Perimeter",
        "Major_Axis_Length",
        "Minor_Axis_Length",
        "Eccentricity",
        "Convex_Area",
        "Extent",
        "class"
      ],
      "rows": 3810,
      "table": true,
      "tojson": true
    },
    {
      "name": "smpdp_toy",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "smpdp_toy",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "x2",
        "class"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    },
    {
      "name": "v_shape",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "v_shape",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x",
        "y",
        "class"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    },
    {
      "name": "waveform",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "object": "waveform",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "class"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "clusta-package",
      "title": "Spectral, Distribution-Aware and Dynamic-Programming Clustering",
      "topics": [
        "clusta-package"
      ]
    },
    {
      "page": "clusta",
      "title": "Exact and structure-guided Dynamic-Programming clustering",
      "topics": [
        "clusta"
      ]
    },
    {
      "page": "clusta_compare",
      "title": "Compare clusta against k-means on the same data",
      "topics": [
        "clusta_compare"
      ]
    },
    {
      "page": "clusta_elbow",
      "title": "Scan a range of k and plot model-selection diagnostics",
      "topics": [
        "clusta_elbow"
      ]
    },
    {
      "page": "clusta-datasets",
      "title": "Real and toy benchmark datasets used in the S-MPDP paper",
      "topics": [
        "breast_cancer",
        "cassini",
        "ceramic",
        "clusta-datasets",
        "glass",
        "image_segmentation",
        "raisin",
        "rice",
        "smpdp_toy",
        "v_shape",
        "waveform"
      ]
    },
    {
      "page": "cluster_metrics",
      "title": "Evaluate a clustering, with or without ground-truth labels",
      "topics": [
        "cluster_metrics"
      ]
    },
    {
      "page": "cluster_stability",
      "title": "Bootstrap stability of S-MPDP clusters",
      "topics": [
        "cluster_stability"
      ]
    },
    {
      "page": "pareto",
      "title": "Pareto Type II (Lomax) distribution",
      "topics": [
        "dpareto",
        "ppareto",
        "qpareto"
      ]
    },
    {
      "page": "friedman_ranks",
      "title": "Friedman average-rank comparison of clustering methods",
      "topics": [
        "friedman_ranks"
      ]
    },
    {
      "page": "fviz_clusta",
      "title": "Publication-quality visualisation of an clusta clustering (ggplot2)",
      "topics": [
        "fviz_clusta"
      ]
    },
    {
      "page": "mpdp",
      "title": "Univariate distribution-aware dynamic-programming clustering (MP-DP)",
      "topics": [
        "mpdp",
        "print.mpdp",
        "summary.mpdp"
      ]
    },
    {
      "page": "plot.clusta",
      "title": "Plot an clusta clustering (base graphics)",
      "topics": [
        "plot.clusta"
      ]
    },
    {
      "page": "plot.smpdp",
      "title": "Standard figures for an S-MPDP clustering",
      "topics": [
        "autoplot.smpdp",
        "plot.smpdp"
      ]
    },
    {
      "page": "run_clustering_benchmarks",
      "title": "Benchmark selected clustering methods",
      "topics": [
        "run_clustering_benchmarks"
      ]
    },
    {
      "page": "simulated_datasets",
      "title": "Simulated benchmark datasets for clustering",
      "topics": [
        "gen_cassini",
        "gen_concentric_circles",
        "gen_non_convex",
        "gen_smiley",
        "gen_three_spirals",
        "gen_two_moons",
        "gen_v_shape",
        "simulated_datasets"
      ]
    },
    {
      "page": "smpdp_sensitivity",
      "title": "Sensitivity of S-MPDP to its neighbourhood size and cluster count",
      "topics": [
        "smpdp_sensitivity"
      ]
    },
    {
      "page": "spectral_mpdp",
      "title": "Spectral Mathematical Programming Dynamic Programming clustering (S-MPDP)",
      "topics": [
        "spectral_mpdp"
      ]
    },
    {
      "page": "suggest_k",
      "title": "Suggest the number of clusters from the spectral gap",
      "topics": [
        "suggest_k"
      ]
    }
  ],
  "_readme": "https://github.com/cran/clusta/raw/HEAD/README.md",
  "_rundeps": [
    "fitdistrplus",
    "lattice",
    "MASS",
    "Matrix",
    "rlang",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "clusta.Rmd",
      "filename": "clusta.html",
      "title": "Clustering using dynamic programming, from one variable to several",
      "author": "Karuna G. Reddy, Gabiriele Bulivou, M. G. M. Khan",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What clusta does",
        "Exact clustering for one variable",
        "Choosing an objective",
        "Two variables",
        "Several variables",
        "Reading the optimality gap",
        "Choosing the number of clusters",
        "References"
      ],
      "created": "2026-12-05 19:24:57",
      "modified": "2026-12-05 19:24:57",
      "commits": 1
    },
    {
      "source": "smpdp.Rmd",
      "filename": "smpdp.html",
      "title": "Spectral MP-DP clustering with clusta",
      "author": "Karuna G. Reddy, Gabiriele Bulivou, M. G. M. Khan",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Worked example",
        "Using the clusta interface",
        "Real data example",
        "Result contents",
        "Choosing the number of clusters",
        "Checking stability",
        "Checking sensitivity",
        "Comparing methods"
      ],
      "created": "2026-12-05 19:24:57",
      "modified": "2026-12-05 19:24:57",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "clusta",
  "_universes": [
    "cran",
    "karunaredz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0-1",
      "date": "2026-12-05T20:02:34.000Z",
      "distro": "resolute",
      "commit": "532c9ab7d55c2c72be81ca6493b7a5c9ea1a41cd",
      "fileid": "https://r2.ropensci.org/3f5a6055b166ed1f143cb97ae9f5ef492ac339415d921add4e700e750af9c790",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47562279368"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0-1",
      "date": "2026-12-05T20:02:29.000Z",
      "distro": "resolute",
      "commit": "532c9ab7d55c2c72be81ca6493b7a5c9ea1a41cd",
      "fileid": "https://r2.ropensci.org/52fa6aa9dfac24d8ebad13b3f12a4780e52b2b948e618a5f1b10625ff15d61b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47562279368"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0-1",
      "date": "2026-12-05T20:01:52.000Z",
      "commit": "532c9ab7d55c2c72be81ca6493b7a5c9ea1a41cd",
      "fileid": "https://r2.ropensci.org/c2596997a35aea906983d353429873a3e1ea1a7280b996fca0df3eefddd40de6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47562279368"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0-1",
      "date": "2026-12-05T20:00:50.000Z",
      "commit": "532c9ab7d55c2c72be81ca6493b7a5c9ea1a41cd",
      "fileid": "https://r2.ropensci.org/5d24303bfb91e3f8343897478136325b63e4c007ecf26533b910fafee9797c04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47562279368"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0-1",
      "date": "2026-12-05T20:00:48.000Z",
      "commit": "532c9ab7d55c2c72be81ca6493b7a5c9ea1a41cd",
      "fileid": "https://r2.ropensci.org/c012083ca540cab69719971dfb10239661a400fb8f1d8da10d460595535a78e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/47562279368"
    }
  ]
}