{
  "_id": "6a631498d3420cf5dfdb6d51",
  "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-07-24 06:34:23 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/453ddda712eca64246e0d1c75ada007af4af6ceadfeefa138c56ca5704d04445",
  "_filesize": 163653,
  "_sha256": "453ddda712eca64246e0d1c75ada007af4af6ceadfeefa138c56ca5704d04445",
  "_expires": "2026-11-01T07:30:30.000Z",
  "_created": "2026-07-24T06:34:23.000Z",
  "_published": "2026-07-24T07:30:31.928Z",
  "_jobs": [
    {
      "job": 89416751157,
      "time": 146,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8588659794"
    },
    {
      "job": 89416751115,
      "time": 217,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8588681067"
    },
    {
      "job": 89416751153,
      "time": 177,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8588668809"
    },
    {
      "job": 89416751154,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8588678651"
    },
    {
      "job": 89416751104,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8589692516"
    },
    {
      "job": 89416751130,
      "time": 188,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8589733530"
    },
    {
      "job": 89416751112,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589676389"
    },
    {
      "job": 89416751111,
      "time": 231,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589711585"
    },
    {
      "job": 89415971088,
      "time": 309,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8588614243"
    },
    {
      "job": 89416751083,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8588659613"
    },
    {
      "job": 89416751163,
      "time": 169,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8588666760"
    },
    {
      "job": 89416751109,
      "time": 185,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8588671408"
    },
    {
      "job": 89416751127,
      "time": 161,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8588664441"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465",
  "_status": "success",
  "_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": "2025-34",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 2
    },
    {
      "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": 905,
    "description": "Geocomputation, Pattern Analysis, Spatial Data Mining, Geostatistics, and R. "
  },
  "_downloads": {
    "count": 425,
    "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/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_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.9577030415488315,
  "_indexed": true,
  "_nocasepkg": "comat",
  "_universes": [
    "nowosad"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-07-24T06:37:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/591b6ae6e412d0599261236aa6f64b521194a13a2d24219b56bee92a763b1d7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-07-24T06:38:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/a8bf1335b0f57010eb8135170bc8592b4a4a837905d3cfb14be091fdf2f5fa4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-07-24T06:37:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/5e2ee9c3a3adf47a478e7a9b6e17534485c032e8f88315dff88d168c6512df17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-07-24T06:37:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/745d2159e9e9a139a3f09067abbd94bc65aa35c7265f4c3efe6d6405d03e6487",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-07-24T07:27:21.000Z",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/f568d306c4e9b6bab72b7d5efa8276928035dec90c0da1a5fe536927cf040eef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-07-24T07:28:53.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/9aab15c1b36a228525d94c97b6b2c81254b6d58b7c8c718ea79dfcf9b85febf8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-07-24T07:26:31.000Z",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/64d4e60d0d385ef9fd4cc4e3b2b308a1bf93fefd66887997b31b0885be87a1a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-07-24T07:27:22.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/098df80fe785d352dfccf52b68970df7ac2fd92c95c7fe6925b826eba19643a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.8",
      "date": "2026-07-24T06:37:00.000Z",
      "arch": "emscripten",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/76b667b382acf24ef9ccbca45fed5cf70f9870bc6dd16ed3a94b51a15eeb0369",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-07-24T06:36:17.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/876e53626ad3c98c67b65dedf0afb5ce628cc150a284894b63e724955c20b96b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-07-24T06:36:33.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/a1e51c9d56d73738900cc272229c9e1d93de276100181dd834cb43f9e9dda8aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-07-24T06:36:12.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "https://r2.ropensci.org/86892517c0cf414f9ccec4993e602539ff6d02ab048a8250bf0ec635eaed5eff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/30072424465"
    }
  ]
}