{
  "_id": "6a1e87c91d7bb097a0a67b21",
  "Package": "rtrim",
  "Title": "Trends and Indices for Monitoring Data",
  "Version": "2.3.0",
  "Date": "2024-06-21",
  "Authors@R": "c(\nperson(\"Patrick\",\"Bogaart\",\nemail=\"rtrim@cbs.nl\",\nrole=c(\"aut\",\"cre\"),\ncomment=c(ORCID=\"0000-0002-8612-1289\")),\nperson(\"Mark\", \"van der Loo\", role=\"aut\"),\nperson(\"Jeroen\",\"Pannekoek\", role=\"aut\"),\nperson(\"Statistics Netherlands\", role=\"cph\"))",
  "Description": "The TRIM model is widely used for estimating growth and\ndecline of animal populations based on (possibly sparsely\navailable) count data. The current package is a\nreimplementation of the original TRIM software developed at\nStatistics Netherlands by Jeroen Pannekoek. See\n<https://www.cbs.nl/en-gb/society/nature-and-environment/indices-and-trends%2d%2dtrim%2d%2d>\nfor more information about TRIM.",
  "URL": "https://github.com/SNStatComp/rtrim",
  "BugReports": "https://github.com/SNStatComp/rtrim/issues",
  "LazyLoad": "yes",
  "LazyData": "no",
  "License": "EUPL",
  "Type": "Package",
  "RoxygenNote": "7.3.1",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr, R.rsp",
  "Repository": "https://snstatcomp.r-universe.dev",
  "Date/Publication": "2025-03-05 12:51:56 UTC",
  "RemoteUrl": "https://github.com/snstatcomp/rtrim",
  "RemoteRef": "HEAD",
  "RemoteSha": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
  "RemoteSubdir": "pkg",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 07:31:40 UTC",
    "User": "root"
  },
  "Author": "Patrick Bogaart [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8612-1289>),\nMark van der Loo [aut],\nJeroen Pannekoek [aut],\nStatistics Netherlands [cph]",
  "Maintainer": "Patrick Bogaart <rtrim@cbs.nl>",
  "MD5sum": "4045ea57aaad8d026f6beaf0e854b0ea",
  "_user": "snstatcomp",
  "_type": "src",
  "_file": "rtrim_2.3.0.tar.gz",
  "_fileid": "4d000903503d7b919aeab051d28b35577f28d980f639c4270178a42986161db0",
  "_filesize": 3501304,
  "_sha256": "4d000903503d7b919aeab051d28b35577f28d980f639c4270178a42986161db0",
  "_created": "2026-06-02T07:31:40.000Z",
  "_published": "2026-06-02T07:35:37.030Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79021253598,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7351607367"
    },
    {
      "job": 79021253596,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7351603180"
    },
    {
      "job": 79021253612,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7351618348"
    },
    {
      "job": 79021253609,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7351611106"
    },
    {
      "job": 79020767035,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351566815"
    },
    {
      "job": 79021253624,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351595989"
    },
    {
      "job": 79021253638,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7351598042"
    },
    {
      "job": 79021253650,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7351593607"
    },
    {
      "job": 79021253633,
      "time": 80,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7351592026"
    }
  ],
  "_buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/snstatcomp/rtrim",
  "_commit": {
    "id": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
    "author": "Patrick Bogaart (PBGT) <pw.bogaart@cbs.nl>",
    "committer": "Patrick Bogaart (PBGT) <pw.bogaart@cbs.nl>",
    "message": "Test commit\n",
    "time": 1741179116
  },
  "_maintainer": {
    "name": "Patrick Bogaart",
    "email": "rtrim@cbs.nl",
    "orcid": "0000-0002-8612-1289"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "snstatcomp",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "pwbogaart",
      "count": 265,
      "uuid": 18592415
    },
    {
      "user": "markvanderloo",
      "count": 188,
      "uuid": 1927426
    }
  ],
  "_userbio": {
    "uuid": 21317829,
    "type": "organization",
    "name": "SNStatComp",
    "description": "Knowledge group on statistical computing, Statistics Netherlands"
  },
  "_downloads": {
    "count": 386,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rtrim"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/snstatcomp/rtrim",
  "_searchresults": 61,
  "_rbuild": "4.6.0",
  "_assets": [
    "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",
    "extra/rtrim.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/snstatcomp/rtrim",
  "_realowner": "snstatcomp",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2016-11-28"
    },
    {
      "version": "2.0.3",
      "date": "2018-03-12"
    },
    {
      "version": "2.0.4",
      "date": "2018-03-15"
    },
    {
      "version": "2.0.5",
      "date": "2018-08-16"
    },
    {
      "version": "2.0.6",
      "date": "2018-08-24"
    },
    {
      "version": "2.1.1",
      "date": "2020-04-21"
    },
    {
      "version": "2.3.0",
      "date": "2024-06-21"
    },
    {
      "version": "2.3.1",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "check_observations",
    "count_summary",
    "gof",
    "heatmap",
    "index",
    "now_what",
    "overall",
    "overdispersion",
    "read_tcf",
    "read_tdf",
    "results",
    "serial_correlation",
    "set_trim_verbose",
    "totals",
    "trendlines",
    "trim",
    "trimcommand",
    "wald"
  ],
  "_datasets": [
    {
      "name": "oystercatcher",
      "title": "",
      "object": "oystercatcher",
      "file": "oystercatcher.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "site",
        "year",
        "month",
        "count"
      ],
      "rows": 33120,
      "table": true,
      "tojson": true
    },
    {
      "name": "skylark",
      "title": "",
      "object": "skylark",
      "file": "skylark.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "site",
        "time",
        "count",
        "Habitat",
        "Deposition"
      ],
      "rows": 440,
      "table": true,
      "tojson": true
    },
    {
      "name": "skylark2",
      "title": "",
      "object": "skylark2",
      "file": "skylark2.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "site",
        "year",
        "count",
        "habitat",
        "deposition",
        "weight"
      ],
      "rows": 440,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [],
  "_readme": "https://github.com/snstatcomp/rtrim/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "TRIM_methods_v2.pdf.asis",
      "filename": "TRIM_methods_v2.pdf",
      "title": "Models and statistical methods in rtrim",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2017-12-22 13:13:21",
      "modified": "2021-11-04 19:11:52",
      "commits": 2
    },
    {
      "source": "rtrim_2_extensions.Rmd",
      "filename": "rtrim_2_extensions.html",
      "title": "rtrim 2.0 extensions",
      "author": "Patrick Bogaart",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Monthly data",
        "Comparison with UIndex",
        "UIndex",
        "rtrim",
        "Stratified rtrim",
        "Taming overdispersion",
        "Output visualization",
        "Plotting time-totals",
        "Plotting indices",
        "Indices and covariates",
        "Combining multiple indices",
        "Adding confidence intervals.",
        "Long output",
        "\"Scaled\" standard errors",
        "Plotting heatmaps.",
        "Heatmaps for monthly datasets",
        "References"
      ],
      "created": "2017-12-29 11:18:01",
      "modified": "2024-11-09 11:15:29",
      "commits": 9
    },
    {
      "source": "Skylark_example.Rmd",
      "filename": "Skylark_example.html",
      "title": "rtrim by example",
      "author": "Jeroen Pannekoek, Arco van Strien and Patrick Bogaart",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Initial model estimation",
        "Covariates",
        "Model simplification",
        "Indices and time-totals",
        "Multiple covariates",
        "Weighting"
      ],
      "created": "2016-11-11 19:08:03",
      "modified": "2022-06-09 06:14:17",
      "commits": 10
    },
    {
      "source": "rtrim_confidence_intervals.Rmd",
      "filename": "rtrim_confidence_intervals.html",
      "title": "rtrim confidence intervals",
      "author": "Patrick Bogaart",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example: normal distribution",
        "TRIM without overdispersion: Poisson distribution",
        "Poisson-Gamma equivalence",
        "Multipliers",
        "Taking overdispersion into account",
        "Confidence intervals for indices"
      ],
      "created": "2018-03-09 16:16:34",
      "modified": "2022-06-09 06:14:17",
      "commits": 5
    },
    {
      "source": "rtrim_for_TRIM_users.Rmd",
      "filename": "rtrim_for_TRIM_users.html",
      "title": "rtrim for TRIM3 users",
      "author": "Patrick Bogaart, Mark van der Loo and Jeroen Pannekoek",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Computing TRIM models",
        "Model specification",
        "TRIM Command Files",
        "TRIM data files",
        "Utility functions"
      ],
      "created": "2016-08-08 08:33:41",
      "modified": "2022-06-09 06:14:17",
      "commits": 18
    },
    {
      "source": "taming_overdispersion.Rmd",
      "filename": "taming_overdispersion.html",
      "title": "Taming overdispersion",
      "author": "Patrick Bogaart",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Overdispersion for clustered observations: the problem",
        "Approach #1: average first, square later.",
        "Approach #2: remove outliers (nonparametric)",
        "Approach #3: remove outliers (parametric)",
        "Application"
      ],
      "created": "2017-12-21 10:21:13",
      "modified": "2021-11-04 19:11:52",
      "commits": 9
    }
  ],
  "_score": 6.780965029608317,
  "_indexed": true,
  "_nocasepkg": "rtrim",
  "_universes": [
    "snstatcomp"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.3.0",
      "date": "2026-06-02T07:33:46.000Z",
      "distro": "noble",
      "commit": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
      "fileid": "205719597fe17e19ee1d2117c8dfbc232cc9b8e13fb89816a282a430cee6254b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.3.0",
      "date": "2026-06-02T07:33:33.000Z",
      "distro": "noble",
      "commit": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
      "fileid": "6c136e788b804e4047a6197d7758f07818bfa12cd5414f3086fba09ddf9c759b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.3.0",
      "date": "2026-06-02T07:34:24.000Z",
      "commit": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
      "fileid": "127ef2a0cc78cc4f449ae915f2311b5cd617ca351a6425b34b9a360d4b5e4d9e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.3.0",
      "date": "2026-06-02T07:34:01.000Z",
      "commit": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
      "fileid": "6ba62b6b5443870887217794796da98a8a7d6b3e28507d8d55438c14c86e02f6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.3.0",
      "date": "2026-06-02T07:33:34.000Z",
      "commit": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
      "fileid": "343a0a875f265067b0a610f2a4e7d18f99de041e9180b5ae4181bc88eb6bc804",
      "status": "success",
      "buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.3.0",
      "date": "2026-06-02T07:33:06.000Z",
      "commit": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
      "fileid": "77a2f213099f0bd7e4ead86f504c1b506522ee91b8d884a6ee02a1dde0d8ea88",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.3.0",
      "date": "2026-06-02T07:32:53.000Z",
      "commit": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
      "fileid": "23ac4be5b950ecde9b2b97e666add371626b20ecb660a9377a433ede4739dcb9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.3.0",
      "date": "2026-06-02T07:32:52.000Z",
      "commit": "a0dbbb5cf3987625d0e5562d8b383d7a01cc7b6f",
      "fileid": "803af24aee78999502e7a755b0f820fc47dacd65caa38585ece144efe0cd2401",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/snstatcomp/actions/runs/26805153194"
    }
  ]
}