{
  "_id": "6a102f59acfb0bcc41c94dd1",
  "Package": "mapbayr",
  "Title": "MAP-Bayesian Estimation of PK Parameters",
  "Version": "0.10.2.9001",
  "Authors@R": "c(person(given = \"Felicien\", family = \"Le Louedec\",\nrole = c(\"aut\", \"cre\"),\nemail = \"felicienlelouedec@proton.me\",\ncomment = c(ORCID = \"0000-0003-3699-2729\")),\nperson(given = \"Kyle T\", family = \"Baron\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0001-7252-5656\")),\nperson(given = \"Laura\", family = \"Morvan\",\nrole = \"ctb\")\n)",
  "Description": "Performs maximum a posteriori Bayesian estimation of\nindividual pharmacokinetic parameters from a model defined in\n'mrgsolve', typically for model-based therapeutic drug\nmonitoring. Internally computes an objective function value\nfrom model and data, performs optimization and returns\npredictions in a convenient format. The performance of the\npackage was described by Le Louedec et al (2021)\n<doi:10.1002/psp4.12689>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/FelicienLL/mapbayr,\nhttps://felicienll.github.io/mapbayr/",
  "BugReports": "https://github.com/FelicienLL/mapbayr/issues",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://felicienll.r-universe.dev",
  "Date/Publication": "2026-05-12 11:34:55 UTC",
  "RemoteUrl": "https://github.com/felicienll/mapbayr",
  "RemoteRef": "HEAD",
  "RemoteSha": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 14:13:14 UTC",
    "User": "root"
  },
  "Author": "Felicien Le Louedec [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3699-2729>),\nKyle T Baron [ctb] (ORCID: <https://orcid.org/0000-0001-7252-5656>),\nLaura Morvan [ctb]",
  "Maintainer": "Felicien Le Louedec <felicienlelouedec@proton.me>",
  "MD5sum": "afc404371d754812e6f568980eb7b1de",
  "_user": "felicienll",
  "_type": "src",
  "_file": "mapbayr_0.10.2.9001.tar.gz",
  "_fileid": "fd9399e6cac1f2e860ae569e2b4837c03f549e7e7acbf95e423a7d111e956c9c",
  "_filesize": 363907,
  "_sha256": "fd9399e6cac1f2e860ae569e2b4837c03f549e7e7acbf95e423a7d111e956c9c",
  "_created": "2026-05-12T14:13:14.000Z",
  "_published": "2026-05-22T10:26:33.469Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77361448096,
      "time": 214,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6946600936"
    },
    {
      "job": 77361447969,
      "time": 269,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946627463"
    },
    {
      "job": 77361448167,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946587849"
    },
    {
      "job": 77361448182,
      "time": 228,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946607720"
    },
    {
      "job": 77361447260,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946513498"
    },
    {
      "job": 77361447403,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158313032"
    },
    {
      "job": 77361448044,
      "time": 216,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6946602385"
    },
    {
      "job": 77361448204,
      "time": 253,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946617776"
    },
    {
      "job": 77361447872,
      "time": 213,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946601123"
    }
  ],
  "_buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/felicienll/mapbayr",
  "_commit": {
    "id": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
    "author": "Félicien Le Louedec <felicienlelouedec@proton.me>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #232 from FelicienLL/gha\n\ngh page",
    "time": 1778585695
  },
  "_maintainer": {
    "name": "Felicien Le Louedec",
    "email": "felicienlelouedec@proton.me",
    "login": "felicienll",
    "twitter": "@FelicienLL",
    "uuid": 68648517,
    "orcid": "0000-0003-3699-2729"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "mrgsolve",
      "version": ">= 1.0.8",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "minqa",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "felicienll",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.10.1",
      "date": "2025-08-21"
    }
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "felicienll",
      "count": 64,
      "uuid": 68648517
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    },
    {
      "user": "lauramvn",
      "count": 1,
      "uuid": 128169341
    }
  ],
  "_userbio": {
    "uuid": 68648517,
    "type": "user",
    "name": "Félicien Le Louedec"
  },
  "_downloads": {
    "count": 327,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mapbayr"
  },
  "_devurl": "https://github.com/felicienll/mapbayr",
  "_pkgdown": "https://felicienll.github.io/mapbayr/",
  "_searchresults": 24,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mapbayr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/felicienll/mapbayr",
  "_realowner": "felicienll",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.1",
      "date": "2021-04-30"
    },
    {
      "version": "0.5.0",
      "date": "2021-07-27"
    },
    {
      "version": "0.6.0",
      "date": "2022-02-18"
    },
    {
      "version": "0.7.0",
      "date": "2022-05-20"
    },
    {
      "version": "0.7.3",
      "date": "2022-05-26"
    },
    {
      "version": "0.8.0",
      "date": "2022-09-29"
    },
    {
      "version": "0.9.0",
      "date": "2023-02-02"
    },
    {
      "version": "0.10.0",
      "date": "2023-07-17"
    },
    {
      "version": "0.10.1",
      "date": "2025-08-21"
    },
    {
      "version": "0.10.2",
      "date": "2026-01-31"
    }
  ],
  "_exports": [
    "add_covariates",
    "adm_cmt",
    "adm_lines",
    "adm_rows",
    "augment",
    "bar_phi",
    "check_mapbayr_model",
    "compute_ofv",
    "compute_weights",
    "do_compute_ofv",
    "do_mapbayr_sim",
    "do_model_averaging",
    "eta",
    "exdata",
    "exmodel",
    "filter",
    "get_cov",
    "get_data",
    "get_eta",
    "get_param",
    "get_phi",
    "mapbayest",
    "mapbayr_plot",
    "mapbayr_vpc",
    "mbrest",
    "merge_phi",
    "model_averaging",
    "obs_cmt",
    "obs_lines",
    "obs_rows",
    "parse_datehour",
    "plot_phi",
    "preprocess.ofv.fix",
    "preprocess.ofv.id",
    "preprocess.optim",
    "read_nmphi",
    "summarise_phi",
    "use_posterior"
  ],
  "_datasets": [
    {
      "name": "est001",
      "title": "Estimation object",
      "object": "est001",
      "class": [
        "mapbayests"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "add_covariates",
      "title": "Add covariate columns to a dataset",
      "topics": [
        "add_covariates",
        "add_covariates.data.frame",
        "add_covariates.mrgmod"
      ]
    },
    {
      "page": "adm_rows",
      "title": "Add administration lines to a dataset",
      "topics": [
        "adm_rows",
        "adm_rows.data.frame",
        "adm_rows.missing",
        "adm_rows.mrgmod"
      ]
    },
    {
      "page": "as.data.frame.mapbayests",
      "title": "Return the mapbay_tab as a data.frame",
      "topics": [
        "as.data.frame.mapbayests"
      ]
    },
    {
      "page": "augment",
      "title": "Compute full PK profile prediction from mapbayr estimates.",
      "topics": [
        "augment"
      ]
    },
    {
      "page": "augment.mapbayests",
      "title": "Compute full PK profile prediction from mapbayr estimates.",
      "topics": [
        "augment.mapbayests"
      ]
    },
    {
      "page": "check_mapbayr_model",
      "title": "Check if model is valid for 'mapbayr'",
      "topics": [
        "check_mapbayr_model"
      ]
    },
    {
      "page": "compute_ofv",
      "title": "Compute the objective function value",
      "topics": [
        "compute_ofv",
        "do_compute_ofv"
      ]
    },
    {
      "page": "data_helpers",
      "title": "Data helpers: functions to build the dataset",
      "topics": [
        "data_helpers"
      ]
    },
    {
      "page": "deprecations",
      "title": "Deprecated functions",
      "topics": [
        "adm_lines",
        "deprecations",
        "mbrest",
        "obs_lines"
      ]
    },
    {
      "page": "do_mapbayr_sim",
      "title": "Simulate with mapbayr",
      "topics": [
        "do_mapbayr_sim"
      ]
    },
    {
      "page": "est001",
      "title": "Estimation object",
      "topics": [
        "est001"
      ]
    },
    {
      "page": "eta",
      "title": "Generate a vector of \"ETA\"",
      "topics": [
        "eta"
      ]
    },
    {
      "page": "exmodel_exdata",
      "title": "Example model and data",
      "topics": [
        "exdata",
        "exmodel",
        "exmodel_exdata"
      ]
    },
    {
      "page": "filter.mrgmod",
      "title": "Filter a dataset within a mrgmod",
      "topics": [
        "filter.mrgmod"
      ]
    },
    {
      "page": "get_x",
      "title": "Get content from object",
      "topics": [
        "get_cov",
        "get_cov.mapbayests",
        "get_data",
        "get_data.mapbayests",
        "get_data.mrgmod",
        "get_eta",
        "get_eta.mapbayests",
        "get_param",
        "get_param.mapbayests",
        "get_phi",
        "get_phi.mapbayests",
        "get_x"
      ]
    },
    {
      "page": "hist.mapbayests",
      "title": "Plot posterior distribution of bayesian estimates",
      "topics": [
        "hist.mapbayests"
      ]
    },
    {
      "page": "mapbayest",
      "title": "Estimate parameters (maximum a posteriori)",
      "topics": [
        "mapbayest"
      ]
    },
    {
      "page": "mapbayr_plot",
      "title": "Make mapbayr plot",
      "topics": [
        "mapbayr_plot"
      ]
    },
    {
      "page": "mapbayr_vpc",
      "title": "Visual Predicted Checks",
      "topics": [
        "mapbayr_vpc"
      ]
    },
    {
      "page": "model_averaging",
      "title": "Average predictions from multiple models",
      "topics": [
        "compute_weights",
        "do_model_averaging",
        "model_averaging"
      ]
    },
    {
      "page": "obs_rows",
      "title": "Add observation lines to a dataset",
      "topics": [
        "obs_rows",
        "obs_rows.data.frame",
        "obs_rows.missing",
        "obs_rows.mrgmod"
      ]
    },
    {
      "page": "parse_datehour",
      "title": "Parse value to \"POSIXct\"",
      "topics": [
        "parse_datehour"
      ]
    },
    {
      "page": "plot.mapbayests",
      "title": "Plot predictions from mapbayests object",
      "topics": [
        "plot.mapbayests"
      ]
    },
    {
      "page": "preprocess.ofv",
      "title": "Preprocess model and data for ofv computation",
      "topics": [
        "preprocess.ofv",
        "preprocess.ofv.fix",
        "preprocess.ofv.id"
      ]
    },
    {
      "page": "preprocess.optim",
      "title": "Pre-process: arguments for optimization function",
      "topics": [
        "preprocess.optim"
      ]
    },
    {
      "page": "print.mapbayests",
      "title": "Print a mapbayests object",
      "topics": [
        "print.mapbayests"
      ]
    },
    {
      "page": "use_posterior",
      "title": "Use posterior estimation",
      "topics": [
        "use_posterior"
      ]
    },
    {
      "page": "vs_nonmem",
      "title": "Compare results to NONMEM .phi",
      "topics": [
        "bar_phi",
        "merge_phi",
        "plot_phi",
        "read_nmphi",
        "summarise_phi",
        "vs_nonmem"
      ]
    },
    {
      "page": "x_cmt",
      "title": "Read compartment options in a model",
      "topics": [
        "adm_cmt",
        "obs_cmt",
        "x_cmt"
      ]
    }
  ],
  "_pkglogo": "https://github.com/felicienll/mapbayr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/felicienll/mapbayr/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "mrgsolve",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "mapbayr",
  "_universes": [
    "felicienll"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.10.2.9001",
      "date": "2026-05-12T14:15:44.000Z",
      "distro": "noble",
      "commit": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
      "fileid": "cde1049f37ef6e676403ff12f3a22d30ebd8a381f950c09abf65bd4b730b9eaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.10.2.9001",
      "date": "2026-05-12T14:16:45.000Z",
      "distro": "noble",
      "commit": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
      "fileid": "901c9761ce534d0100939f5e213b5b8c9eab8134dc23ce85c2f58c5059643432",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.10.2.9001",
      "date": "2026-05-12T14:15:12.000Z",
      "commit": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
      "fileid": "5837e0b175f28f081303d727a19e8bc9decc494beb5f52a4870fc03c7717f133",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.10.2.9001",
      "date": "2026-05-12T14:15:38.000Z",
      "commit": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
      "fileid": "9a298879dd337c2b4ce061e03a254c6afac905fa213464aeec70325d24610ec5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.10.2.9001",
      "date": "2026-05-12T14:15:15.000Z",
      "commit": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
      "fileid": "6c9b28f8dd8805273dc879d192b1285b9e836a4ff71eaccb8352793eb80a8ef7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.10.2.9001",
      "date": "2026-05-12T14:15:40.000Z",
      "commit": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
      "fileid": "1a7a372dfea02a879329ff6b838f8f0227085988db9b3e7698c0cd98b0145288",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.10.2.9001",
      "date": "2026-05-12T14:14:59.000Z",
      "commit": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
      "fileid": "3f43667bc9a2885e337c03863ee20aa57bcf738095a309f1a90ad3402f7ee3ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.10.2.9001",
      "date": "2026-05-22T10:26:17.000Z",
      "commit": "67ac2d0729219e8b5daacc02c1e3cb8db54bf30e",
      "fileid": "4634b480777cba132e7c25d655bde52f6aca177e6b96c3c1bc9abf194193562f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/25739967776"
    }
  ]
}