{
  "_id": "6a267116794753ddbc3ea7c1",
  "Package": "RBaM",
  "Type": "Package",
  "Title": "Bayesian Modeling: Estimate a Computer Model and Make Uncertain\nPredictions",
  "Version": "1.1.2",
  "Authors@R": "c(\nperson(\"Benjamin\", \"Renard\", email = \"benjamin.renard@inrae.fr\",role = c(\"aut\", \"cre\",\"cph\"),comment = c(ORCID = \"0000-0001-8447-5430\")),\nperson(\"INRAE\", role = c(\"fnd\")),\nperson(\"Ministère de la Transition Ecologique - SCHAPI\", role = c(\"fnd\")))",
  "Description": "An interface to the 'BaM' (Bayesian Modeling) engine, a\n'Fortran'-based executable aimed at estimating a model with a\nBayesian approach and using it for prediction, with a\nparticular focus on uncertainty quantification. Classes are\ndefined for the various building blocks of 'BaM' inference\n(model, data, error models, Markov Chain Monte Carlo (MCMC)\nsamplers, predictions). The typical usage is as follows: (1)\nspecify the model to be estimated; (2) specify the inference\nsetting (dataset, parameters, error models...); (3) perform\nBayesian-MCMC inference; (4) read, analyse and use MCMC\nsamples; (5) perform prediction experiments. Technical details\nare available (in French) in Renard (2017)\n<https://hal.science/hal-02606929v1>. Examples of applications\ninclude Mansanarez et al. (2019) <doi:10.1029/2018WR023389>, Le\nCoz et al. (2021) <doi:10.1002/hyp.14169>, Perret et al. (2021)\n<doi:10.1029/2020WR027745>, Darienzo et al. (2021)\n<doi:10.1029/2020WR028607> and Perret et al. (2023)\n<doi:10.1061/JHEND8.HYENG-13101>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/BaM-tools/RBaM",
  "BugReports": "https://github.com/BaM-tools/RBaM/issues",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://bam-tools.r-universe.dev",
  "Date/Publication": "2026-04-09 15:15:24 UTC",
  "RemoteUrl": "https://github.com/bam-tools/rbam",
  "RemoteRef": "HEAD",
  "RemoteSha": "5108898da7d63636322c3ff45b1b8adafd716a74",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 07:32:20 UTC",
    "User": "root"
  },
  "Author": "Benjamin Renard [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-8447-5430>),\nINRAE [fnd],\nMinistère de la Transition Ecologique - SCHAPI [fnd]",
  "Maintainer": "Benjamin Renard <benjamin.renard@inrae.fr>",
  "MD5sum": "dd7a0f490dd542f6371b910bbf446d37",
  "_user": "bam-tools",
  "_type": "src",
  "_file": "RBaM_1.1.2.tar.gz",
  "_fileid": "46f2ca98fc4328a12f593d0101ecadf18c97616ce6c163d905e0fc276ba25d9c",
  "_filesize": 594378,
  "_sha256": "46f2ca98fc4328a12f593d0101ecadf18c97616ce6c163d905e0fc276ba25d9c",
  "_created": "2026-06-08T07:32:20.000Z",
  "_published": "2026-06-08T07:36:54.855Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80043467555,
      "time": 181,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474036385"
    },
    {
      "job": 80043467547,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474026461"
    },
    {
      "job": 80043467509,
      "time": 199,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7474032155"
    },
    {
      "job": 80043467540,
      "time": 72,
      "config": "macos-release-arm64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80042911807,
      "time": 222,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473983008"
    },
    {
      "job": 80043467521,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474014717"
    },
    {
      "job": 80043467536,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474020794"
    },
    {
      "job": 80043467625,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7474016201"
    },
    {
      "job": 80043467522,
      "time": 140,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474024396"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bam-tools/actions/runs/27122537352",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bam-tools/rbam",
  "_commit": {
    "id": "5108898da7d63636322c3ff45b1b8adafd716a74",
    "author": "benRenard <benjamin.renard@inrae.fr>",
    "committer": "benRenard <benjamin.renard@inrae.fr>",
    "message": "Added SFDTidal_QmecMS model",
    "time": 1775747724
  },
  "_maintainer": {
    "name": "Benjamin Renard",
    "email": "benjamin.renard@inrae.fr",
    "login": "benrenard",
    "description": "",
    "uuid": 84188144,
    "orcid": "0000-0001-8447-5430"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "rjson",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bam-tools",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-27",
      "n": 4
    },
    {
      "week": "2025-28",
      "n": 6
    },
    {
      "week": "2025-29",
      "n": 12
    },
    {
      "week": "2025-30",
      "n": 3
    },
    {
      "week": "2025-31",
      "n": 4
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 3
    },
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2025-07-07"
    },
    {
      "name": "v1.1.1",
      "date": "2025-09-30"
    }
  ],
  "_topics": [
    "bayesian-inference",
    "modeling",
    "statistics",
    "uncertainty"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "benrenard",
      "count": 87,
      "uuid": 84188144
    },
    {
      "user": "felipemendezrios",
      "count": 2,
      "uuid": 108263997
    }
  ],
  "_userbio": {
    "uuid": 84381579,
    "type": "organization",
    "name": "BaM",
    "description": "Bayesian Modeling"
  },
  "_downloads": {
    "count": 498,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RBaM"
  },
  "_devurl": "https://github.com/bam-tools/rbam",
  "_searchresults": 26,
  "_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/RBaM.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bam-tools/rbam",
  "_realowner": "bam-tools",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2025-07-10"
    },
    {
      "version": "1.1.1",
      "date": "2025-10-03"
    },
    {
      "version": "1.1.2",
      "date": "2026-01-08"
    }
  ],
  "_exports": [
    "BaM",
    "blocDiag",
    "dataset",
    "densityPlot",
    "downloadBaM",
    "getAwPfromBathy",
    "getCatalogue",
    "getInitPar",
    "getNames",
    "getParNames",
    "getPathToBaM",
    "llfunk_iid_Gaussian",
    "llfunk_iLinear_Gaussian",
    "logLikelihood_BaM",
    "logPosterior_BaM",
    "logPosterior_BaM_wrapped",
    "logPrior_Flat",
    "MCMC_AM",
    "MCMC_OAAT",
    "mcmcCooking",
    "mcmcOptions",
    "mcmcSummary",
    "model",
    "parameter",
    "parameter_VAR",
    "prediction",
    "readMCMC",
    "remnantErrorModel",
    "residualOptions",
    "runModel",
    "runOptions",
    "setInitPar",
    "setPathToBaM",
    "SPD_estimate",
    "SPD_getVARproperties",
    "tracePlot",
    "violinPlot",
    "writePredInputs",
    "xtraModelInfo"
  ],
  "_datasets": [
    {
      "name": "MeyrasGaugings",
      "title": "Meyras Gaugings",
      "object": "MeyrasGaugings",
      "class": [
        "data.frame"
      ],
      "fields": [
        "h",
        "Q",
        "uQ",
        "Period"
      ],
      "rows": 104,
      "table": true,
      "tojson": true
    },
    {
      "name": "SauzeGaugings",
      "title": "Sauze Gaugings",
      "object": "SauzeGaugings",
      "class": [
        "data.frame"
      ],
      "fields": [
        "H",
        "Q",
        "uQ"
      ],
      "rows": 38,
      "table": true,
      "tojson": true
    },
    {
      "name": "twoPopulations",
      "title": "Evolution of two populations",
      "object": "twoPopulations",
      "class": [
        "data.frame"
      ],
      "fields": [
        "t",
        "T1",
        "T2",
        "P1",
        "P2"
      ],
      "rows": 101,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BaM",
      "title": "Run BaM",
      "topics": [
        "BaM"
      ]
    },
    {
      "page": "blocDiag",
      "title": "Bloc-diagonal matrix constructor",
      "topics": [
        "blocDiag"
      ]
    },
    {
      "page": "dataset",
      "title": "dataset object constructor.",
      "topics": [
        "dataset"
      ]
    },
    {
      "page": "densityPlot",
      "title": "densityPlot",
      "topics": [
        "densityPlot"
      ]
    },
    {
      "page": "downloadBaM",
      "title": "BaM downloader",
      "topics": [
        "downloadBaM"
      ]
    },
    {
      "page": "getAwPfromBathy",
      "title": "Bathymetry interpreter",
      "topics": [
        "getAwPfromBathy"
      ]
    },
    {
      "page": "getCatalogue",
      "title": "BaM catalogue",
      "topics": [
        "getCatalogue"
      ]
    },
    {
      "page": "getInitPar",
      "title": "Get initial values",
      "topics": [
        "getInitPar"
      ]
    },
    {
      "page": "getNames",
      "title": "Get object names",
      "topics": [
        "getNames"
      ]
    },
    {
      "page": "getParNames",
      "title": "Get parameter names",
      "topics": [
        "getParNames"
      ]
    },
    {
      "page": "getPathToBaM",
      "title": "Path to BaM",
      "topics": [
        "getPathToBaM"
      ]
    },
    {
      "page": "llfunk_iid_Gaussian",
      "title": "Log-likelihood function: iid Gaussian",
      "topics": [
        "llfunk_iid_Gaussian"
      ]
    },
    {
      "page": "llfunk_iLinear_Gaussian",
      "title": "Log-likelihood function: independent-linear Gaussian",
      "topics": [
        "llfunk_iLinear_Gaussian"
      ]
    },
    {
      "page": "logLikelihood_BaM",
      "title": "BaM log-likelihood",
      "topics": [
        "logLikelihood_BaM"
      ]
    },
    {
      "page": "logPosterior_BaM",
      "title": "BaM log-posterior",
      "topics": [
        "logPosterior_BaM"
      ]
    },
    {
      "page": "logPosterior_BaM_wrapped",
      "title": "BaM log-posterior",
      "topics": [
        "logPosterior_BaM_wrapped"
      ]
    },
    {
      "page": "logPrior_Flat",
      "title": "Log-prior function: improper flat prior",
      "topics": [
        "logPrior_Flat"
      ]
    },
    {
      "page": "MCMC_AM",
      "title": "Adaptive Metropolis sampler",
      "topics": [
        "MCMC_AM"
      ]
    },
    {
      "page": "MCMC_OAAT",
      "title": "Adaptive One-At-A-Time Metropolis sampler",
      "topics": [
        "MCMC_OAAT"
      ]
    },
    {
      "page": "mcmcCooking",
      "title": "mcmcCooking constructor.",
      "topics": [
        "mcmcCooking"
      ]
    },
    {
      "page": "mcmcOptions",
      "title": "mcmcOptions object constructor.",
      "topics": [
        "mcmcOptions"
      ]
    },
    {
      "page": "mcmcSummary",
      "title": "mcmcSummary constructor.",
      "topics": [
        "mcmcSummary"
      ]
    },
    {
      "page": "MeyrasGaugings",
      "title": "Meyras Gaugings",
      "topics": [
        "MeyrasGaugings"
      ]
    },
    {
      "page": "model",
      "title": "model object constructor.",
      "topics": [
        "model"
      ]
    },
    {
      "page": "parameter",
      "title": "parameter object constructor.",
      "topics": [
        "parameter"
      ]
    },
    {
      "page": "parameter_VAR",
      "title": "Varying parameter object constructor.",
      "topics": [
        "parameter_VAR"
      ]
    },
    {
      "page": "prediction",
      "title": "prediction object constructor.",
      "topics": [
        "prediction"
      ]
    },
    {
      "page": "readMCMC",
      "title": "MCMC Reader",
      "topics": [
        "readMCMC"
      ]
    },
    {
      "page": "remnantErrorModel",
      "title": "remnantErrorModel object constructor.",
      "topics": [
        "remnantErrorModel"
      ]
    },
    {
      "page": "residualOptions",
      "title": "residualOptions constructor.",
      "topics": [
        "residualOptions"
      ]
    },
    {
      "page": "runModel",
      "title": "Run Model",
      "topics": [
        "runModel"
      ]
    },
    {
      "page": "runOptions",
      "title": "runOptions constructor.",
      "topics": [
        "runOptions"
      ]
    },
    {
      "page": "SauzeGaugings",
      "title": "Sauze Gaugings",
      "topics": [
        "SauzeGaugings"
      ]
    },
    {
      "page": "setInitPar",
      "title": "Set initial values",
      "topics": [
        "setInitPar"
      ]
    },
    {
      "page": "setPathToBaM",
      "title": "Path to BaM",
      "topics": [
        "setPathToBaM"
      ]
    },
    {
      "page": "SPD_estimate",
      "title": "Estimation of a BaRatin-SPD model",
      "topics": [
        "SPD_estimate"
      ]
    },
    {
      "page": "SPD_getVARproperties",
      "title": "Properties of VAR parameters",
      "topics": [
        "SPD_getVARproperties"
      ]
    },
    {
      "page": "toString.dataset",
      "title": "dataset to string",
      "topics": [
        "toString.dataset"
      ]
    },
    {
      "page": "toString.mcmcCooking",
      "title": "mcmcCooking to string",
      "topics": [
        "toString.mcmcCooking"
      ]
    },
    {
      "page": "toString.mcmcOptions",
      "title": "mcmcOptions to string",
      "topics": [
        "toString.mcmcOptions"
      ]
    },
    {
      "page": "toString.mcmcSummary",
      "title": "mcmcSummary to string",
      "topics": [
        "toString.mcmcSummary"
      ]
    },
    {
      "page": "toString.model",
      "title": "model to string",
      "topics": [
        "toString.model"
      ]
    },
    {
      "page": "toString.parameter",
      "title": "parameter to string",
      "topics": [
        "toString.parameter"
      ]
    },
    {
      "page": "toString.parameter_VAR",
      "title": "parameter_VAR to string",
      "topics": [
        "toString.parameter_VAR"
      ]
    },
    {
      "page": "toString.prediction",
      "title": "prediction to string",
      "topics": [
        "toString.prediction"
      ]
    },
    {
      "page": "toString.remnantErrorModel",
      "title": "remnantErrorModel to string",
      "topics": [
        "toString.remnantErrorModel"
      ]
    },
    {
      "page": "toString.residualOptions",
      "title": "residualOptions to string",
      "topics": [
        "toString.residualOptions"
      ]
    },
    {
      "page": "toString.runOptions",
      "title": "runOptions to string",
      "topics": [
        "toString.runOptions"
      ]
    },
    {
      "page": "tracePlot",
      "title": "MCMC reporting",
      "topics": [
        "tracePlot"
      ]
    },
    {
      "page": "twoPopulations",
      "title": "Evolution of two populations",
      "topics": [
        "twoPopulations"
      ]
    },
    {
      "page": "violinPlot",
      "title": "violinPlot",
      "topics": [
        "violinPlot"
      ]
    },
    {
      "page": "writePredInputs",
      "title": "Write prediction inputs",
      "topics": [
        "writePredInputs"
      ]
    },
    {
      "page": "xtraModelInfo",
      "title": "xtraModelInfo constructor.",
      "topics": [
        "xtraModelInfo"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bam-tools/rbam/raw/HEAD/logo.svg",
  "_readme": "https://github.com/bam-tools/rbam/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "mvtnorm",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "RColorBrewer",
    "rjson",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 4.227886704613674,
  "_indexed": true,
  "_nocasepkg": "rbam",
  "_universes": [
    "bam-tools",
    "benrenard"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-05-09T08:37:11.000Z",
      "commit": "5108898da7d63636322c3ff45b1b8adafd716a74",
      "fileid": "152fa679ee988a26cd0450003f80fb6adbdfa0bf41cf40844e002cc3df4e6c53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bam-tools/actions/runs/25596594407"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-08T07:35:28.000Z",
      "distro": "noble",
      "commit": "5108898da7d63636322c3ff45b1b8adafd716a74",
      "fileid": "8d7ee83a8e2a5afd6d0d141676542d83a09fd53b2472abe9ba6461f247add4f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bam-tools/actions/runs/27122537352"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-06-08T07:35:08.000Z",
      "distro": "noble",
      "commit": "5108898da7d63636322c3ff45b1b8adafd716a74",
      "fileid": "fbd11589b30b3f6623c9a19703ea64154931343ecfcef3e8e9aa1026f9c56233",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bam-tools/actions/runs/27122537352"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-06-08T07:35:31.000Z",
      "commit": "5108898da7d63636322c3ff45b1b8adafd716a74",
      "fileid": "333adde680d64bece4b2333893ac647b9ea28f2a0562aaa17b2791eebfafc333",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bam-tools/actions/runs/27122537352"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-06-08T07:34:59.000Z",
      "commit": "5108898da7d63636322c3ff45b1b8adafd716a74",
      "fileid": "0c4246bd25bd690e3ac7c54dfbb0899f2b5ef56a175c604ce2112de89004e92c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bam-tools/actions/runs/27122537352"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-06-08T07:34:34.000Z",
      "commit": "5108898da7d63636322c3ff45b1b8adafd716a74",
      "fileid": "f7f455eaf12465b7d1d44fdeccc3056efdcd30f2639e0851253f8b28a0b7aa5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bam-tools/actions/runs/27122537352"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-06-08T07:34:19.000Z",
      "commit": "5108898da7d63636322c3ff45b1b8adafd716a74",
      "fileid": "ada38ed945d781ef12666b5b10e90ec2b85fb33aeb80b5b692aaf3e315f74aa4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bam-tools/actions/runs/27122537352"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-06-08T07:34:52.000Z",
      "commit": "5108898da7d63636322c3ff45b1b8adafd716a74",
      "fileid": "bd965f4c881eeb8607325bee3e0aebb3c708cec34d012a5092dbc214457b2a4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bam-tools/actions/runs/27122537352"
    }
  ]
}