{
  "_id": "6a1f1dceb401979e7341fc7f",
  "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-05-16 08:33:08 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>",
  "MD5sum": "4a820609f9a818213b66fecc00651f66",
  "_user": "nowosad",
  "_type": "src",
  "_file": "comat_0.9.8.tar.gz",
  "_fileid": "9a968e061200f5dd617da62a70234d17e22e472ab22c9f0a994669651e959d41",
  "_filesize": 161780,
  "_sha256": "9a968e061200f5dd617da62a70234d17e22e472ab22c9f0a994669651e959d41",
  "_created": "2026-05-16T08:33:08.000Z",
  "_published": "2026-06-02T18:15:42.895Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79140788900,
      "time": 162,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031997333"
    },
    {
      "job": 79140789162,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031996848"
    },
    {
      "job": 79140789740,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031996246"
    },
    {
      "job": 79140789213,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031996542"
    },
    {
      "job": 79140789284,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031991676"
    },
    {
      "job": 79140789218,
      "time": 269,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7032008766"
    },
    {
      "job": 79140789263,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031998343"
    },
    {
      "job": 79140788831,
      "time": 381,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032020569"
    },
    {
      "job": 79140788576,
      "time": 236,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031980339"
    },
    {
      "job": 79140788204,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366168852"
    },
    {
      "job": 79140789145,
      "time": 167,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031997819"
    },
    {
      "job": 79140789520,
      "time": 150,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031996180"
    },
    {
      "job": 79140789020,
      "time": 173,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031998530"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 3457131,
    "orcid": "0000-0002-1057-3721"
  },
  "_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",
    "description": "Geocomputation, Pattern Analysis, Spatial Data Mining, Geostatistics, and R. "
  },
  "_downloads": {
    "count": 657,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comat"
  },
  "_devurl": "https://github.com/nowosad/comat",
  "_pkgdown": "https://jakubnowosad.com/comat/",
  "_searchresults": 25,
  "_rbuild": "4.6.0",
  "_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",
    "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": "14.2.0-4ubuntu2~24.04.1",
      "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.9084850188786495,
  "_indexed": true,
  "_nocasepkg": "comat",
  "_universes": [
    "nowosad"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-05-16T08:35:44.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "5f5bb7336b72ce5e0ee03478e964da9d2f55defae4f111c04c46606733f41731",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-05-16T08:35:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "cc36dbe7b4126f7db4b3fd308887bdcaef6ff37b5971a813165dad996bd956a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-05-16T08:35:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "268c4b3c543be3d448004e226d523fbd263560250ceb3dc6ce2f180c635cca48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.8",
      "date": "2026-05-16T08:35:43.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "f3cfd26ae484e4a8333a14acd953e0211455f8b3e09aa66a64d7352e1b744890",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-05-16T08:35:14.000Z",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "ebabc2403588a63e434dc4e86eb42a8904ddb9976d4821ce01ca819c52ab8eb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-05-16T08:37:01.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "a41033d6c7c335c65252e9ff791558975c15f94501bcfdcc09caf4386aeb8c57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-05-16T08:35:57.000Z",
      "arch": "aarch64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "4e5f44e18774a150f1a1e6ca70a9047d9189d55d7724d34ad7b089dea5a182d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.8",
      "date": "2026-05-16T08:37:28.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "8a0a5a90a0447da5cfd4f8e7cff55f47b815a14e93bcd09311c43e1a5ba3b3a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-05-16T08:35:06.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "4cfdb6b88d145c696cda3a4c1b1dab1a8adb17c731489d4170d895bc6d97359c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-05-16T08:34:55.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "ee57565fe03172a25fd2706979421c32f98b0d06e9fdf070e39e8c4bd88479c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.8",
      "date": "2026-05-16T08:35:09.000Z",
      "arch": "x86_64",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "78ee53355372cf16734e684f09592731e051f19c958f32db7f7b794f063ab382",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.8",
      "date": "2026-06-02T18:14:35.000Z",
      "arch": "emscripten",
      "commit": "cf4c7902751e7915c0b61232a776952090f4d90c",
      "fileid": "c3b3e24015e803f6c55e20f7548bb871946cce5bcbc2fa795a28217dceb203d8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nowosad/actions/runs/25957348743"
    }
  ]
}