{
  "_id": "6a229a24cd65a98ecbd574fd",
  "Package": "c2c",
  "Type": "Package",
  "Title": "Compare Two Classifications or Clustering Solutions of Varying\nStructure",
  "Version": "0.1.0",
  "Authors@R": "person(\"Mitchell\", \"Lyons\", \nemail = \"mitchell.lyons@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Maintainer": "Mitchell Lyons <mitchell.lyons@gmail.com>",
  "Description": "Compare two classifications or clustering solutions that\nmay or may not have the same number of classes, and that might\nhave hard or soft (fuzzy, probabilistic) membership. Calculate\nvarious metrics to assess how the clusters compare to each\nother. The calculations are simple, but provide a handy tool\nfor users unfamiliar with matrix multiplication. This package\nis not geared towards traditional accuracy assessment for\nclassification/ mapping applications - the motivating use case\nis for comparing a probabilistic clustering solution to a set\nof reference or existing class labels that could have any\nnumber of classes (that is, without having to degrade the\nprobabilistic clustering to hard classes).",
  "URL": "https://github.com/mitchest/c2c/",
  "BugReports": "https://github.com/mitchest/c2c/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "6.0.1",
  "VignetteBuilder": "knitr",
  "Repository": "https://mitchest.r-universe.dev",
  "Date/Publication": "2017-08-10 01:06:52 UTC",
  "RemoteUrl": "https://github.com/mitchest/c2c",
  "RemoteRef": "HEAD",
  "RemoteSha": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 09:39:52 UTC",
    "User": "root"
  },
  "Author": "Mitchell Lyons [aut, cre]",
  "MD5sum": "860baa1dd6875c39fc63aa5753f0171c",
  "_user": "mitchest",
  "_type": "src",
  "_file": "c2c_0.1.0.tar.gz",
  "_fileid": "df0bcfc93289d5a24d76e9bfff97699b375428e24c85eceb2abb18cd02f7bfc5",
  "_filesize": 137899,
  "_sha256": "df0bcfc93289d5a24d76e9bfff97699b375428e24c85eceb2abb18cd02f7bfc5",
  "_created": "2026-06-05T09:39:52.000Z",
  "_published": "2026-06-05T09:43:00.121Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79702732224,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7433577527"
    },
    {
      "job": 79702732208,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433577545"
    },
    {
      "job": 79702732356,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7433571866"
    },
    {
      "job": 79702732262,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433566155"
    },
    {
      "job": 79702360039,
      "time": 148,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433530081"
    },
    {
      "job": 79702732195,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433559324"
    },
    {
      "job": 79702732335,
      "time": 68,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7433552125"
    },
    {
      "job": 79702732218,
      "time": 101,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7433562814"
    },
    {
      "job": 79702732220,
      "time": 64,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433550386"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mitchest/c2c",
  "_commit": {
    "id": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
    "author": "Mitchell Lyons <mitchell.lyons@unsw.edu.au>",
    "committer": "Mitchell Lyons <mitchell.lyons@unsw.edu.au>",
    "message": "typo\n",
    "time": 1502327212
  },
  "_maintainer": {
    "name": "Mitchell Lyons",
    "email": "mitchell.lyons@gmail.com",
    "login": "mitchest",
    "linkedin": "in/mitchelllyons",
    "description": "Geospatial (mostly) data scientist working at the technical-management-policy interface",
    "uuid": 6659323
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "e1071",
      "role": "Suggests"
    }
  ],
  "_owner": "mitchest",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mitchest",
      "count": 59,
      "uuid": 6659323
    }
  ],
  "_userbio": {
    "uuid": 6659323,
    "type": "user",
    "name": "Mitchell Lyons",
    "description": "Geospatial (mostly) data scientist working at the technical-management-policy interface"
  },
  "_downloads": {
    "count": 150,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/c2c"
  },
  "_devurl": "https://github.com/mitchest/c2c",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/c2c.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mitchest/c2c",
  "_realowner": "mitchest",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2017-07-23"
    }
  ],
  "_exports": [
    "calculate_clustering_metrics",
    "class_entropy",
    "class_purity",
    "get_conf_mat",
    "get_hard",
    "labels_to_matrix",
    "overall_entropy",
    "overall_purity",
    "percentage_agreement"
  ],
  "_help": [
    {
      "page": "calculate_clustering_metrics",
      "title": "Calculate clustering metrics for a confusion matrix",
      "topics": [
        "calculate_clustering_metrics"
      ]
    },
    {
      "page": "class_entropy",
      "title": "Calculate cluster entropy per class",
      "topics": [
        "class_entropy"
      ]
    },
    {
      "page": "class_purity",
      "title": "Calculate cluster purity per class",
      "topics": [
        "class_purity"
      ]
    },
    {
      "page": "get_conf_mat",
      "title": "Generate a confusion matrix from two classifications/clustering solutions.",
      "topics": [
        "get_conf_mat"
      ]
    },
    {
      "page": "get_hard",
      "title": "Decompose soft (fuzzy, probabilistic) membership to hard binary matrix",
      "topics": [
        "get_hard"
      ]
    },
    {
      "page": "labels_to_matrix",
      "title": "Make a vector of class labels into a hard binary matrix",
      "topics": [
        "labels_to_matrix"
      ]
    },
    {
      "page": "overall_entropy",
      "title": "Calculate overall cluster entropy",
      "topics": [
        "overall_entropy"
      ]
    },
    {
      "page": "overall_purity",
      "title": "Calculate overall cluster purity",
      "topics": [
        "overall_purity"
      ]
    },
    {
      "page": "percentage_agreement",
      "title": "Calculate overall percentage agreement",
      "topics": [
        "percentage_agreement"
      ]
    }
  ],
  "_readme": "https://github.com/mitchest/c2c/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "c2c-workflow.Rmd",
      "filename": "c2c-workflow.html",
      "title": "c2c workflow",
      "author": "Mitchell Lyons",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is c2c?",
        "How to use c2c",
        "An example with the iris data",
        "References"
      ],
      "created": "2017-07-21 13:01:19",
      "modified": "2017-07-21 13:01:19",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "c2c",
  "_universes": [
    "mitchest"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-05T09:42:24.000Z",
      "distro": "noble",
      "commit": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
      "fileid": "c70ff58dbe1d75fd451bfc75e503ea31eeef78a190098f373152056b228cd2f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-05T09:42:22.000Z",
      "distro": "noble",
      "commit": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
      "fileid": "cca9f4c2f5c7c8c905375b4fd86ecb67b8246e524631d4003aa95efafa11ab2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-05T09:42:08.000Z",
      "commit": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
      "fileid": "28102dec6e1c98711606b2c1832f710dc32e5ac04a218f20ca9d5d9dbe80e9d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-05T09:41:46.000Z",
      "commit": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
      "fileid": "07369735033cd91ff1c8ca8d3a7d67e6a392b18a108c66a96574b73b340ba0a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-05T09:41:37.000Z",
      "commit": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
      "fileid": "05a170c91a35f39d816869e6fe8f57889ad7ce8b6227627b73499d264e90ff70",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-05T09:41:01.000Z",
      "commit": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
      "fileid": "a7bbffa8ec8c577a2aa77cf5124eae0beb6700c83a2b141bb3574bd4c2c92f26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-05T09:41:33.000Z",
      "commit": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
      "fileid": "6b8722503b2eba054ffee0b38c1994e84794ea803b1a039a85b99d7722a023a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-05T09:40:56.000Z",
      "commit": "5d21ae74c27c04efd2b1de36ba722fcd046b2395",
      "fileid": "8a7924421fe1b40e17528b5b8eca640d555231faf82749d03380e4c0457cf185",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mitchest/actions/runs/27007399056"
    }
  ]
}