{
  "_id": "6aae646c3d719c1f8407c327",
  "Package": "nullcat",
  "Type": "Package",
  "Title": "Null Models for Categorical and Continuous Community Matrices",
  "Version": "0.2.0.9000",
  "Authors@R": "person(\"Matthew\", \"Kling\",\nemail = \"mattkling@berkeley.edu\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Provides null model algorithms for categorical and\nquantitative community ecology data. Extends classic binary\nnull models (e.g., 'curveball', 'swap') to work with\ncategorical data. Provides a stratified randomization framework\nfor continuous data.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/matthewkling/nullcat,\nhttps://matthewkling.github.io/nullcat/",
  "BugReports": "https://github.com/matthewkling/nullcat/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://matthewkling.r-universe.dev",
  "Date/Publication": "2026-04-07 02:49:16 UTC",
  "RemoteUrl": "https://github.com/matthewkling/nullcat",
  "RemoteRef": "HEAD",
  "RemoteSha": "2aa62357c6748d00e1899299171a40f62f22313e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-19 10:24:21 UTC",
    "User": "root"
  },
  "Author": "Matthew Kling [aut, cre, cph]",
  "Maintainer": "Matthew Kling <mattkling@berkeley.edu>",
  "_user": "matthewkling",
  "_type": "src",
  "_file": "nullcat_0.2.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/2c6c16669c46b755834c9093a87ad492147f7597d1841a8b4e88872f9fd5aa41",
  "_filesize": 550529,
  "_sha256": "2c6c16669c46b755834c9093a87ad492147f7597d1841a8b4e88872f9fd5aa41",
  "_expires": "2026-12-28T10:31:07.000Z",
  "_created": "2026-09-19T10:24:21.000Z",
  "_published": "2026-09-19T10:31:08.853Z",
  "_jobs": [
    {
      "job": 105882109040,
      "time": 132,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10583275503"
    },
    {
      "job": 105882109062,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10582611837"
    },
    {
      "job": 105882109081,
      "time": 115,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10583155554"
    },
    {
      "job": 105882109034,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10582676907"
    },
    {
      "job": 105882109120,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10582656853"
    },
    {
      "job": 105882109028,
      "time": 263,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10583255575"
    },
    {
      "job": 105882109127,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10582457168"
    },
    {
      "job": 105882109021,
      "time": 269,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10582307936"
    },
    {
      "job": 105881557516,
      "time": 275,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10582451908"
    },
    {
      "job": 105882109161,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10583081373"
    },
    {
      "job": 105882109026,
      "time": 337,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10583101540"
    },
    {
      "job": 105882109099,
      "time": 147,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10582397203"
    },
    {
      "job": 105882109042,
      "time": 108,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10582671892"
    },
    {
      "job": 105882109094,
      "time": 358,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10583140717"
    },
    {
      "job": 105882109027,
      "time": 117,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10582422151"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926",
  "_status": "success",
  "_upstream": "https://github.com/matthewkling/nullcat",
  "_commit": {
    "id": "2aa62357c6748d00e1899299171a40f62f22313e",
    "author": "Matthew Kling <mattkling@gmail.com>",
    "committer": "Matthew Kling <mattkling@gmail.com>",
    "message": "Increment version number to 0.2.0.9000\n",
    "time": 1775530156
  },
  "_maintainer": {
    "name": "Matthew Kling",
    "email": "mattkling@berkeley.edu",
    "login": "matthewkling",
    "description": "Macroecologist and conservation biogeographer.",
    "uuid": 3752758
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vegan",
      "role": "Suggests"
    }
  ],
  "_owner": "matthewkling",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 7
    },
    {
      "week": "2025-46",
      "n": 18
    },
    {
      "week": "2025-49",
      "n": 9
    },
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2025-12-04"
    },
    {
      "name": "v0.2.0",
      "date": "2026-04-06"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "matthewkling",
      "count": 41,
      "uuid": 3752758
    }
  ],
  "_userbio": {
    "uuid": 3752758,
    "type": "user",
    "name": "Matthew Kling",
    "followers": 61,
    "description": "Macroecologist and conservation biogeographer."
  },
  "_downloads": {
    "count": 347,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nullcat"
  },
  "_devurl": "https://github.com/matthewkling/nullcat",
  "_pkgdown": "https://matthewkling.github.io/nullcat/",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/nullcat.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/matthewkling/nullcat",
  "_realowner": "matthewkling",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-12-18"
    },
    {
      "version": "0.2.0",
      "date": "2026-04-06"
    }
  ],
  "_exports": [
    "c0cat",
    "curvecat",
    "nullcat",
    "nullcat_batch",
    "nullcat_commsim",
    "nullcat_commsim_seq",
    "nullcat_methods",
    "quantize",
    "quantize_batch",
    "quantize_commsim",
    "quantize_commsim_seq",
    "quantize_prep",
    "r0cat",
    "stratify",
    "suggest_n_iter",
    "swapcat",
    "trace_cat",
    "tswapcat"
  ],
  "_help": [
    {
      "page": "c0cat",
      "title": "Column-constrained categorical randomization (c0cat)",
      "topics": [
        "c0cat"
      ]
    },
    {
      "page": "curvecat",
      "title": "Categorical curveball randomization (curvecat)",
      "topics": [
        "curvecat"
      ]
    },
    {
      "page": "nullcat",
      "title": "Categorical matrix randomization",
      "topics": [
        "nullcat"
      ]
    },
    {
      "page": "nullcat_batch",
      "title": "Generate a batch of null matrices using nullcat()",
      "topics": [
        "nullcat_batch"
      ]
    },
    {
      "page": "nullcat_commsim",
      "title": "Nullcat-based commsim (non-sequential)",
      "topics": [
        "nullcat_commsim"
      ]
    },
    {
      "page": "nullcat_commsim_seq",
      "title": "Nullcat-based commsim (sequential / Markov chain)",
      "topics": [
        "nullcat_commsim_seq"
      ]
    },
    {
      "page": "nullcat_methods",
      "title": "Supported nullcat methods",
      "topics": [
        "nullcat_methods"
      ]
    },
    {
      "page": "quantize",
      "title": "Stratified quantitative null models via quantize",
      "topics": [
        "quantize"
      ]
    },
    {
      "page": "quantize_batch",
      "title": "Generate a batch of null matrices using quantize()",
      "topics": [
        "quantize_batch"
      ]
    },
    {
      "page": "quantize_commsim",
      "title": "Quantize-based commsim (non-sequential)",
      "topics": [
        "quantize_commsim"
      ]
    },
    {
      "page": "quantize_commsim_seq",
      "title": "Quantile-based quantize commsim (sequential / Markov chain)",
      "topics": [
        "quantize_commsim_seq"
      ]
    },
    {
      "page": "quantize_prep",
      "title": "Prepare stratified null model overhead for quantize()",
      "topics": [
        "quantize_prep"
      ]
    },
    {
      "page": "r0cat",
      "title": "Row-constrained categorical randomization (r0cat)",
      "topics": [
        "r0cat"
      ]
    },
    {
      "page": "stratify",
      "title": "Bin quantitative data into strata",
      "topics": [
        "stratify"
      ]
    },
    {
      "page": "suggest_n_iter",
      "title": "Suggest a reasonable n_iter for a randomization",
      "topics": [
        "suggest_n_iter"
      ]
    },
    {
      "page": "swapcat",
      "title": "Categorical swap randomization (swapcat)",
      "topics": [
        "swapcat"
      ]
    },
    {
      "page": "trace_cat",
      "title": "Trace diagnostics for categorical randomizations",
      "topics": [
        "trace_cat"
      ]
    },
    {
      "page": "tswapcat",
      "title": "Trial-swap categorical randomization (tswapcat)",
      "topics": [
        "tswapcat"
      ]
    }
  ],
  "_pkglogo": "https://github.com/matthewkling/nullcat/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/matthewkling/nullcat/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_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": "nullcat.Rmd",
      "filename": "nullcat.html",
      "title": "Introduction to nullcat",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Use cases",
        "Categorical null models",
        "Available algorithms",
        "Example: Basic categorical randomization",
        "Understanding fixed margins",
        "Quantitative null models",
        "Example: Basic quantitative randomization",
        "Stratification options",
        "Controlling what's preserved",
        "Efficient repeated randomization",
        "Convergence diagnostics",
        "Weighted pair sampling",
        "Basic usage: spatial constraints on rows",
        "Hard thresholds as soft strata",
        "Column weights",
        "Dual-margin weighting",
        "Integration with vegan",
        "References",
        "Further reading"
      ],
      "created": "2025-12-04 01:43:43",
      "modified": "2026-04-04 03:02:15",
      "commits": 2
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "nullcat",
  "_universes": [
    "matthewkling"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:26:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/10bfa8d1dadd9fc18d9380bf29bed8d1668f992ba042f1453bf72b60d7981b35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:26:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/96b3919a6d65d4ebca9fd51883080bd30a14903b5f9b6fb74cd943d7c823edfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:26:18.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/fca2fbddddddb1d5772d5dc498ef13406f671128a5505101501a8ec500e6422b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:27:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/4bf8b9a73e84f01a2591fb2c14708da86d69d559ba4beaebb3b32c0bd6358125",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:25:55.000Z",
      "arch": "aarch64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/9fcf1f8d726d868e4047f46abc8158072980d636d7df276ebe93492fa3d2c5e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:27:55.000Z",
      "arch": "x86_64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/0213245a45d1283aa6c52a3510ccb6b24b479a2d8cc675a771b72bb8d72f555a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:26:10.000Z",
      "arch": "aarch64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/18a237e5c787b207d6a882b7891fca297f8c2459a10d15c57bebcd6ed48cb3b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:27:43.000Z",
      "arch": "x86_64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/55487c795ae83024d8484b008b5af6f26b3bd7b939b225df4c6c0273315ade7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:26:30.000Z",
      "arch": "emscripten",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/2685f11ded4296543784a4ffb7f8d413cee483843d31b8b759dcc6cc6ef56466",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:28:58.000Z",
      "arch": "aarch64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/0162547bd87747855faf03398b480cfd22b8c14d14d7c5ac1bcca4a13c9c3000",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:25:39.000Z",
      "arch": "x86_64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/a5708d95c5996495743925f97f2ac890aa5c061ce86fcee6e9ce6839cceaff36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:25:34.000Z",
      "arch": "x86_64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/53a6a039eee560e852592aa7510aee9e4a8caf4558fbe7d815c2d04913ab4db0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:29:31.000Z",
      "arch": "aarch64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/378c0f0a1fc9a771ed59f361e0c77cd0b03b36ec1b448779158b69d9bf176495",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-09-19T10:25:43.000Z",
      "arch": "x86_64",
      "commit": "2aa62357c6748d00e1899299171a40f62f22313e",
      "fileid": "https://r2.ropensci.org/3e08f7fd0c6fa1bfa5d5852fecfb43898b2bc0ac6837b3b206f68fa1d4dcaf0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewkling/actions/runs/35437098926"
    }
  ]
}