{
  "_id": "6a3adc295cdecea1d67ed96c",
  "Package": "BayesFR",
  "Title": "Fitting Functional Responses in 1- and 2-Prey Systems",
  "Version": "1.0.1",
  "Authors@R": "person(\"Benjamin\", \"Rosenbaum\", , \"benjamin.rosenbaum@idiv.de\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-2815-0874\"))",
  "Description": "Easy application of Bayesian inference for functional\nresponses via 'brms'. This package allows to fit various FR\nmodels for single- and multi-prey experiments by providing\nnonlinear prediction functions for 'brms'. It uses dynamical\nprediction models to correct for prey depletion. The 'brms'\nframework facilitates statistical modeling and enables users to\nconveniently incorporate covariates such as temperature\ngradients, experimental treatment variables, or random effects\nthat account for grouping in experimental units. Default 'brms'\nfunctions make it easy to perform model checking, model\ncomparison and hypothesis testing. Potential statistical issues\nwith data from feeding trials, such as overdispersion, can be\nresolved by effortlessly switching between likelihood\nfunctions. This package, together with its tutorials, should\nprovide students and researchers with a comprehensive and\nintegrated statistical framework for easily testing their\nhypotheses on trophic interactions. References: Rosenbaum and\nRall (2018) <doi:10.1111/2041-210X.13039>; Rosenbaum et al.\n(2024) <doi:10.1111/2041-210X.14372>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/benjamin-rosenbaum/BayesFR",
  "BugReports": "https://github.com/benjamin-rosenbaum/BayesFR/issues",
  "LazyData": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-23 19:14:50 UTC",
    "User": "root"
  },
  "Author": "Benjamin Rosenbaum [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2815-0874>)",
  "Maintainer": "Benjamin Rosenbaum <benjamin.rosenbaum@idiv.de>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-23 14:50:08 UTC",
  "RemoteUrl": "https://github.com/cran/BayesFR",
  "RemoteRef": "HEAD",
  "RemoteSha": "40d59b943c7f590695311513200f6e2003641ac4",
  "MD5sum": "3107372317267df45977c34686bcedb0",
  "_user": "cran",
  "_type": "src",
  "_file": "BayesFR_1.0.1.tar.gz",
  "_fileid": "7e079c4060362babe76c551bfcffb223b7e4effacda1f890827b5abc4b8ec0d8",
  "_filesize": 3212479,
  "_sha256": "7e079c4060362babe76c551bfcffb223b7e4effacda1f890827b5abc4b8ec0d8",
  "_created": "2026-06-23T19:14:50.000Z",
  "_published": "2026-06-23T19:19:05.543Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83040225034,
      "time": 217,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7831021546"
    },
    {
      "job": 83040225207,
      "time": 199,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7831014507"
    },
    {
      "job": 83039471621,
      "time": 227,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7830937762"
    },
    {
      "job": 83040225036,
      "time": 185,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7831009425"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28050451541",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BayesFR",
  "_commit": {
    "id": "40d59b943c7f590695311513200f6e2003641ac4",
    "author": "Benjamin Rosenbaum <benjamin.rosenbaum@idiv.de>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.1\n",
    "time": 1782226208
  },
  "_maintainer": {
    "name": "Benjamin Rosenbaum",
    "email": "benjamin.rosenbaum@idiv.de",
    "orcid": "0000-0002-2815-0874"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "brms",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.1",
      "date": "2026-06-23"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesFR"
  },
  "_devurl": "https://github.com/benjamin-rosenbaum/bayesfr",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesFR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2026-06-23"
    }
  ],
  "_exports": [
    "convert_2sp_to_long",
    "MS_Type2H_dyn_code",
    "MS_Type3H_dyn_code",
    "MS_TypeY_dyn_code",
    "MS_TypeZ_dyn_code",
    "Type1_dyn_code",
    "Type1_fix_code",
    "Type2BD_dyn_code",
    "Type2CM_dyn_code",
    "Type2H_dyn_code",
    "Type2H_fix_code",
    "Type2HV_dyn_code",
    "Type3GenH_dyn_code",
    "Type3GenH_fix_code",
    "Type3GenH_mort_dyn_code",
    "Type3H_dyn_code",
    "Type3H_fix_code",
    "TypeGenBD_dyn_code",
    "TypeGenCM_dyn_code",
    "TypeGenHV_dyn_code"
  ],
  "_datasets": [
    {
      "name": "df_Archer_et_al_2019_JAE",
      "title": "Example dataset for prey mortality",
      "object": "df_Archer_et_al_2019_JAE",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N0",
        "NE",
        "P0",
        "Time",
        "Predator",
        "Prey",
        "Temperature",
        "Setting",
        "Year"
      ],
      "rows": 580,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_Colton_1987_1_ECOLOGY",
      "title": "Example dataset for multi-species FR with 2 prey",
      "object": "df_Colton_1987_1_ECOLOGY",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N01",
        "N02",
        "NE1",
        "NE2",
        "P0",
        "Time"
      ],
      "rows": 108,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_Cuthbert_et_al_2020_ECOL_EVOL",
      "title": "Example dataset for categorical predictors",
      "object": "df_Cuthbert_et_al_2020_ECOL_EVOL",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N0",
        "NE",
        "Time",
        "Predator",
        "Prey",
        "PredSize",
        "PreySize"
      ],
      "rows": 358,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_Davidson_et_al_2021_FUN_ECOL",
      "title": "Example dataset for continuous predictors",
      "object": "df_Davidson_et_al_2021_FUN_ECOL",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N0",
        "NE",
        "Time",
        "Predator",
        "Prey",
        "Temperature",
        "HeadWidth"
      ],
      "rows": 91,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_Hossie_and_Murray_2010_OECOLOGIA",
      "title": "Feeding experiments without prey replacement",
      "object": "df_Hossie_and_Murray_2010_OECOLOGIA",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N0",
        "NE",
        "Time",
        "Predator",
        "Prey",
        "ID"
      ],
      "rows": 91,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_Michalko_and_Pekar_2017_AM_NAT",
      "title": "Feeding experiments with prey replacement",
      "object": "df_Michalko_and_Pekar_2017_AM_NAT",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N0",
        "NE",
        "Time",
        "Predator",
        "Prey",
        "ID"
      ],
      "rows": 63,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_Papanikolaou_et_al_2021_ECOL_EVOL",
      "title": "Example dataset for testing predator interference models",
      "object": "df_Papanikolaou_et_al_2021_ECOL_EVOL",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N0",
        "NE",
        "P0",
        "ID",
        "Time",
        "Predator",
        "Prey"
      ],
      "rows": 563,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_Schroeder_et_al_2016_OEC",
      "title": "Example dataset for random effects (predator individual)",
      "object": "df_Schroeder_et_al_2016_OEC",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N0",
        "NE",
        "Time",
        "ID",
        "Size",
        "Predator",
        "Prey",
        "Trial.time"
      ],
      "rows": 686,
      "table": true,
      "tojson": true
    },
    {
      "name": "df_Sentis_et_al_2017_GLOBAL_CHANGE_BIOLOGY",
      "title": "Example dataset for testing type 2 vs. type 3",
      "object": "df_Sentis_et_al_2017_GLOBAL_CHANGE_BIOLOGY",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N0",
        "NE",
        "Time",
        "Predator",
        "Prey",
        "ID",
        "Temperature"
      ],
      "rows": 327,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "convert_2sp_to_long",
      "title": "Convert 2-prey data to long format",
      "topics": [
        "convert_2sp_to_long"
      ]
    },
    {
      "page": "df_Archer_et_al_2019_JAE",
      "title": "Example dataset for prey mortality",
      "topics": [
        "df_Archer_et_al_2019_JAE"
      ]
    },
    {
      "page": "df_Colton_1987_1_ECOLOGY",
      "title": "Example dataset for multi-species FR with 2 prey",
      "topics": [
        "df_Colton_1987_1_ECOLOGY"
      ]
    },
    {
      "page": "df_Cuthbert_et_al_2020_ECOL_EVOL",
      "title": "Example dataset for categorical predictors",
      "topics": [
        "df_Cuthbert_et_al_2020_ECOL_EVOL"
      ]
    },
    {
      "page": "df_Davidson_et_al_2021_FUN_ECOL",
      "title": "Example dataset for continuous predictors",
      "topics": [
        "df_Davidson_et_al_2021_FUN_ECOL"
      ]
    },
    {
      "page": "df_Hossie_and_Murray_2010_OECOLOGIA",
      "title": "Feeding experiments without prey replacement",
      "topics": [
        "df_Hossie_and_Murray_2010_OECOLOGIA"
      ]
    },
    {
      "page": "df_Michalko_and_Pekar_2017_AM_NAT",
      "title": "Feeding experiments with prey replacement",
      "topics": [
        "df_Michalko_and_Pekar_2017_AM_NAT"
      ]
    },
    {
      "page": "df_Papanikolaou_et_al_2021_ECOL_EVOL",
      "title": "Example dataset for testing predator interference models",
      "topics": [
        "df_Papanikolaou_et_al_2021_ECOL_EVOL"
      ]
    },
    {
      "page": "df_Schroeder_et_al_2016_OEC",
      "title": "Example dataset for random effects (predator individual)",
      "topics": [
        "df_Schroeder_et_al_2016_OEC"
      ]
    },
    {
      "page": "df_Sentis_et_al_2017_GLOBAL_CHANGE_BIOLOGY",
      "title": "Example dataset for testing type 2 vs. type 3",
      "topics": [
        "df_Sentis_et_al_2017_GLOBAL_CHANGE_BIOLOGY"
      ]
    },
    {
      "page": "MS_Type2H_dyn_code",
      "title": "Type 2 multi-species FR without replacement",
      "topics": [
        "MS_Type2H_dyn_code"
      ]
    },
    {
      "page": "MS_Type3H_dyn_code",
      "title": "Type 3 multi-species FR without replacement",
      "topics": [
        "MS_Type3H_dyn_code"
      ]
    },
    {
      "page": "MS_TypeY_dyn_code",
      "title": "Yodzis FR without replacement",
      "topics": [
        "MS_TypeY_dyn_code"
      ]
    },
    {
      "page": "MS_TypeZ_dyn_code",
      "title": "Generalized switching FR without replacement",
      "topics": [
        "MS_TypeZ_dyn_code"
      ]
    },
    {
      "page": "Type1_dyn_code",
      "title": "Type 1 FR with prey depletion",
      "topics": [
        "Type1_dyn_code"
      ]
    },
    {
      "page": "Type1_fix_code",
      "title": "Type 1 FR with prey replacement",
      "topics": [
        "Type1_fix_code"
      ]
    },
    {
      "page": "Type2BD_dyn_code",
      "title": "Functional response models with predator interference",
      "topics": [
        "Type2BD_dyn_code"
      ]
    },
    {
      "page": "Type2CM_dyn_code",
      "title": "Functional response models with predator interference",
      "topics": [
        "Type2CM_dyn_code"
      ]
    },
    {
      "page": "Type2H_dyn_code",
      "title": "Type 2 FR (Holling) with prey depletion",
      "topics": [
        "Type2H_dyn_code"
      ]
    },
    {
      "page": "Type2H_fix_code",
      "title": "Type 2 FR (Holling) with prey replacement",
      "topics": [
        "Type2H_fix_code"
      ]
    },
    {
      "page": "Type2HV_dyn_code",
      "title": "Functional response models with predator interference",
      "topics": [
        "Type2HV_dyn_code"
      ]
    },
    {
      "page": "Type3GenH_dyn_code",
      "title": "Generalized type 3 FR (Holling) with prey depletion",
      "topics": [
        "Type3GenH_dyn_code"
      ]
    },
    {
      "page": "Type3GenH_fix_code",
      "title": "Generalized type 3 FR (Holling) with prey replacement",
      "topics": [
        "Type3GenH_fix_code"
      ]
    },
    {
      "page": "Type3GenH_mort_dyn_code",
      "title": "Functional response models with prey mortality",
      "topics": [
        "Type3GenH_mort_dyn_code"
      ]
    },
    {
      "page": "Type3H_dyn_code",
      "title": "Type 3 FR (Holling) with prey depletion",
      "topics": [
        "Type3H_dyn_code"
      ]
    },
    {
      "page": "Type3H_fix_code",
      "title": "Type 3 FR (Holling) with prey replacement",
      "topics": [
        "Type3H_fix_code"
      ]
    },
    {
      "page": "TypeGenBD_dyn_code",
      "title": "Functional response models with predator interference",
      "topics": [
        "TypeGenBD_dyn_code"
      ]
    },
    {
      "page": "TypeGenCM_dyn_code",
      "title": "Functional response models with predator interference",
      "topics": [
        "TypeGenCM_dyn_code"
      ]
    },
    {
      "page": "TypeGenHV_dyn_code",
      "title": "Functional response models with predator interference",
      "topics": [
        "TypeGenHV_dyn_code"
      ]
    }
  ],
  "_readme": "https://github.com/cran/BayesFR/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "bayesplot",
    "BH",
    "bridgesampling",
    "brms",
    "Brobdingnag",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "ggridges",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "mgcv",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "numDeriv",
    "otel",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "reshape2",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "bayesfr-intro.Rmd",
      "filename": "bayesfr-intro.html",
      "title": "Getting started with BayesFR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Minimal example: data with prey replacement",
        "2. Minimal example: data without prey replacement"
      ],
      "created": "2026-06-23 14:50:08",
      "modified": "2026-06-23 14:50:08",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "bayesfr",
  "_universes": [
    "cran",
    "benjamin-rosenbaum"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-23T19:17:47.000Z",
      "distro": "resolute",
      "commit": "40d59b943c7f590695311513200f6e2003641ac4",
      "fileid": "96ea42f5915e170741f46f5f6a190b819ed58a62d0cad1642fc60adcf751f8c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28050451541"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-23T19:17:36.000Z",
      "distro": "resolute",
      "commit": "40d59b943c7f590695311513200f6e2003641ac4",
      "fileid": "65880c180c681f340bd5a31044dca49a636c8da58725c13727f8e7693a8d8f2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28050451541"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-23T19:18:16.000Z",
      "commit": "40d59b943c7f590695311513200f6e2003641ac4",
      "fileid": "66956b7cf686065c4cc8bc92ee9c0f188c7b566e04b7d582f403f22f80548fe7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28050451541"
    }
  ]
}