{
  "_id": "6ad5f6261a746b08f50358d8",
  "Package": "comat",
  "Title": "Creates Co-Occurrence Matrices of Spatial Data",
  "Version": "0.9.8",
  "Authors@R": "c(person(given = \"Jakub\", family = \"Nowosad\", role = c(\"aut\", \"cre\"), email =\n\"nowosad.jakub@gmail.com\", comment = c(ORCID = \"0000-0002-1057-3721\")),\nperson(\"Maximillian H.K.\", \"Hesselbarth\",\nrole = c(\"ctb\"),\nemail = \"maximilian.hesselbarth@uni-goettingen.de\",\ncomment = \"Co-author of underlying C++ code for get_class_index_map(),\nget_unique_values(), and rcpp_get_coma() functions\"),\nperson(\"Marco\", \"Sciaini\",\nrole = \"ctb\",\nemail = \"sciaini.marco@gmail.com\",\ncomment = \"Co-author of underlying C++ code for get_class_index_map(),\nget_unique_values(), and rcpp_get_coma() functions\"),\nperson(\"Sebastian\", \"Hanss\",\nrole = \"ctb\",\ncomment = \"Co-author of underlying C++ code for get_class_index_map(),\nget_unique_values(), and rcpp_get_coma() functions\"))",
  "Description": "Builds co-occurrence matrices based on spatial raster\ndata. It includes creation of weighted co-occurrence matrices\n(wecoma) and integrated co-occurrence matrices (incoma; Vadivel\net al. (2007) <doi:10.1016/j.patrec.2007.01.004>).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "false",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://jakubnowosad.com/comat/",
  "BugReports": "https://github.com/Nowosad/comat/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://nowosad.r-universe.dev",
  "Date/Publication": "2026-03-17 13:48:32 UTC",
  "RemoteUrl": "https://github.com/nowosad/comat",
  "RemoteRef": "HEAD",
  "RemoteSha": "cf4c7902751e7915c0b61232a776952090f4d90c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-19 10:44:37 UTC",
    "User": "root"
  },
  "Author": "Jakub Nowosad [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1057-3721>),\nMaximillian H.K. Hesselbarth [ctb] (Co-author of underlying C++ code\nfor get_class_index_map(), get_unique_values(), and rcpp_get_coma()\nfunctions),\nMarco Sciaini [ctb] (Co-author of underlying C++ code for\nget_class_index_map(), get_unique_values(), and rcpp_get_coma()\nfunctions),\nSebastian Hanss [ctb] (Co-author of underlying C++ code for\nget_class_index_map(), get_unique_values(), and rcpp_get_coma()\nfunctions)",
  "Maintainer": "Jakub Nowosad <nowosad.jakub@gmail.com>",
  "_user": "nowosad",
  "_type": "src",
  "_file": "comat_0.9.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/e898c9c3ee1f0cdc6873b7fccb853e34cb0a11b5a3890f699d8304f42d8f4d0d",
  "_filesize": 161417,
  "_sha256": "e898c9c3ee1f0cdc6873b7fccb853e34cb0a11b5a3890f699d8304f42d8f4d0d",
  "_expires": "2027-01-27T10:51:16.000Z",
  "_created": "2026-10-19T10:44:37.000Z",
  "_published": "2026-10-19T10:51:18.278Z",
  "_buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 118017269492,
      "time": 161,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12180578308"
    },
    {
      "job": 118017269522,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12181106363"
    },
    {
      "job": 118017269419,
      "time": 128,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12181435275"
    },
    {
      "job": 118017269516,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12181345623"
    },
    {
      "job": 118017269371,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12181435296"
    },
    {
      "job": 118017269440,
      "time": 337,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12181086847"
    },
    {
      "job": 118017269359,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12180861910"
    },
    {
      "job": 118017269431,
      "time": 237,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12180154784"
    },
    {
      "job": 118015982214,
      "time": 196,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12180676547"
    },
    {
      "job": 118017269329,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12180637058"
    },
    {
      "job": 118017269671,
      "time": 259,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12181505548"
    },
    {
      "job": 118017269582,
      "time": 207,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12181680045"
    },
    {
      "job": 118017269462,
      "time": 135,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12180851820"
    },
    {
      "job": 118017269558,
      "time": 266,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12181116746"
    },
    {
      "job": 118017269647,
      "time": 160,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12180233757"
    }
  ],
  "_upstream": "https://github.com/nowosad/comat",
  "_commit": {
    "id": "cf4c7902751e7915c0b61232a776952090f4d90c",
    "author": "jn <tupiszakaczki@gmail.com>",
    "committer": "jn <tupiszakaczki@gmail.com>",
    "message": "improves cpp code\n",
    "time": 1773755312
  },
  "_maintainer": {
    "name": "Jakub Nowosad",
    "email": "nowosad.jakub@gmail.com",
    "login": "nowosad",
    "mastodon": "@nowosad@fosstodon.org",
    "description": "Geocomputation, Pattern Analysis, Spatial Data Mining, Geostatistics, and R. ",
    "uuid": 3457131,
    "orcid": "0000-0002-1057-3721"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "nowosad",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "co-occurrence",
    "raster",
    "spatial",
    "cpp"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "nowosad",
      "count": 219,
      "uuid": 3457131
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 3457131,
    "type": "user",
    "name": "Jakub",
    "followers": 920,
    "description": "Geocomputation, Pattern Analysis, Spatial Data Mining, Geostatistics, and R. "
  },
  "_downloads": {
    "count": 592,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comat"
  },
  "_devurl": "https://github.com/nowosad/comat",
  "_pkgdown": "https://jakubnowosad.com/comat/",
  "_searchresults": 28,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/comat.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/nowosad/comat",
  "_realowner": "nowosad",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2019-08-25"
    },
    {
      "version": "0.7.0",
      "date": "2019-10-10"
    },
    {
      "version": "0.7.2",
      "date": "2019-11-12"
    },
    {
      "version": "0.8.2",
      "date": "2020-03-17"
    },
    {
      "version": "0.9.0",
      "date": "2020-10-10"
    },
    {
      "version": "0.9.1",
      "date": "2021-04-19"
    },
    {
      "version": "0.9.2",
      "date": "2021-10-14"
    },
    {
      "version": "0.9.3",
      "date": "2022-01-29"
    },
    {
      "version": "0.9.4",
      "date": "2023-04-04"
    },
    {
      "version": "0.9.5",
      "date": "2023-11-28"
    },
    {
      "version": "0.9.6",
      "date": "2025-09-26"
    },
    {
      "version": "0.9.7",
      "date": "2026-03-05"
    }
  ],
  "_exports": [
    "get_cocoma",
    "get_cocove",
    "get_coma",
    "get_cove",
    "get_incoma",
    "get_incove",
    "get_wecoma",
    "get_wecove",
    "it_metric"
  ],
  "_datasets": [
    {
      "name": "raster_w",
      "title": "A matrix with weights",
      "object": "raster_w",
      "file": "raster_w.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "raster_w_na",
      "title": "A matrix with weights and missing values",
      "object": "raster_w_na",
      "file": "raster_w_na.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "raster_x",
      "title": "A matrix with categories",
      "object": "raster_x",
      "file": "raster_x.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "raster_x_na",
      "title": "A matrix with categories and missing values",
      "object": "raster_x_na",
      "file": "raster_x_na.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "raster_y",
      "title": "A matrix with categories",
      "object": "raster_y",
      "file": "raster_y.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 3,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "get_cocoma",
      "title": "Create a co-located co-occurrence matrix (cocoma)",
      "topics": [
        "get_cocoma"
      ]
    },
    {
      "page": "get_cocove",
      "title": "Create a co-located co-occurrence vector (cocove)",
      "topics": [
        "get_cocove"
      ]
    },
    {
      "page": "get_coma",
      "title": "Create a co-occurrence matrix (coma)",
      "topics": [
        "get_coma"
      ]
    },
    {
      "page": "get_cove",
      "title": "Create a co-occurrence vector (cove)",
      "topics": [
        "get_cove"
      ]
    },
    {
      "page": "get_incoma",
      "title": "Create an integrated co-occurrence matrix (incoma)",
      "topics": [
        "get_incoma"
      ]
    },
    {
      "page": "get_incove",
      "title": "Create an integrated co-occurrence vector (incove)",
      "topics": [
        "get_incove"
      ]
    },
    {
      "page": "get_wecoma",
      "title": "Create a weighted co-occurrence matrix (wecoma)",
      "topics": [
        "get_wecoma"
      ]
    },
    {
      "page": "get_wecove",
      "title": "Create a weighted co-occurrence vector (wecove)",
      "topics": [
        "get_wecove"
      ]
    },
    {
      "page": "it_metric",
      "title": "Calculates an Information Theory-based metric",
      "topics": [
        "it_metric"
      ]
    },
    {
      "page": "raster_w",
      "title": "A matrix with weights",
      "topics": [
        "raster_w"
      ]
    },
    {
      "page": "raster_w_na",
      "title": "A matrix with weights and missing values",
      "topics": [
        "raster_w_na"
      ]
    },
    {
      "page": "raster_x",
      "title": "A matrix with categories",
      "topics": [
        "raster_x"
      ]
    },
    {
      "page": "raster_x_na",
      "title": "A matrix with categories and missing values",
      "topics": [
        "raster_x_na"
      ]
    },
    {
      "page": "raster_y",
      "title": "A matrix with categories",
      "topics": [
        "raster_y"
      ]
    }
  ],
  "_readme": "https://github.com/nowosad/comat/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "coma.Rmd",
      "filename": "coma.html",
      "title": "A co-occurrence matrix (coma) representation",
      "author": "Jakub Nowosad",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2020-03-20 12:46:12",
      "modified": "2022-01-29 15:14:13",
      "commits": 6
    },
    {
      "source": "wecoma.Rmd",
      "filename": "wecoma.html",
      "title": "A weighted co-occurrence matrix (wecoma) representation",
      "author": "Jakub Nowosad",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2020-03-20 15:11:16",
      "modified": "2023-01-31 11:25:41",
      "commits": 5
    },
    {
      "source": "incoma.Rmd",
      "filename": "incoma.html",
      "title": "An integrated co-occurrence matrix (incoma) representation",
      "author": "Jakub Nowosad",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2020-03-30 15:55:38",
      "modified": "2021-03-20 08:48:56",
      "commits": 3
    }
  ],
  "_score": 6.65667304588485,
  "_indexed": true,
  "_nocasepkg": "comat",
  "_universes": [
    "nowosad"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-10-19T10:47:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/1467f0c5c9f875056d40e7a234bcf787ac720d53e87e0f018d4a3b72171a0545",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-10-19T10:47:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/bcafc4aa62ed8e24c402c88b3baaef93eb0c2d7fa4383e64a03008dec2769dc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-10-19T10:46:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/4d34e9428f786d1a9ee6af4997ded1fc5d15446db1f8590a65b2026dbaf41220",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-10-19T10:47:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/08d76f13e56881b1319adedacfc32ce1fb6ad8dd080e273954e767e1137d78e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-10-19T10:46:47.000Z",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/9fe1a864e5ee7f665ba3fc47cc52397575108ec3c124ccec568ab19d260a9273",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-10-19T10:48:38.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/6af4099e3be3e3e392a5aef4c2ccf180c212658118ae87e7ce01a1f92d9c0ddf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-10-19T10:47:02.000Z",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/b65bbd2c402988b5992bda696c9c004b4cdd51db537a9a4adf1760caa3b9e032",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-10-19T10:47:58.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/691fd14a10e3e39fe9bc4455a876d21519c0463652a2071caa24f99036bb68f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.8",
      "date": "2026-10-19T10:46:56.000Z",
      "arch": "emscripten",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/d840b6b241c8d484348cf8640c7c7b51c3c9178bb6b587bcfe9d0104a46e53dc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-10-19T10:48:07.000Z",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/bed33a66be7a298cfb781376292448b3f8515dd96d3f2d95f2e605aae9d0fe40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-10-19T10:46:15.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/0adf60fd203aaff2a4731f318b8bcea25fac29cba4448ee0a52acff7a7912956",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-10-19T10:46:16.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/58a933572578cc80c84df3088d998183226034bdfc79d9ba794ecf6abf80bb5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-10-19T10:48:21.000Z",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/eed7ea3e948a2b3609f27190ae0c73f6579ac6c8178471f13ce5dc4ac63a52e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-10-19T10:46:07.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/215a1dd21bac7bcafa3558e0cc077c20fe04df324cabd8fcb1536caab12b8cf8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/39239270782"
    }
  ]
}