{
  "_id": "6acf4f59d9de2f3f33fcab4e",
  "Package": "mapbayr",
  "Title": "MAP-Bayesian Estimation of PK Parameters",
  "Version": "0.10.2.9002",
  "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)",
  "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/roxygen2/version": "8.1.0",
  "VignetteBuilder": "quarto",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://felicienll.r-universe.dev",
  "Date/Publication": "2026-08-15 12:11:29 UTC",
  "RemoteUrl": "https://github.com/felicienll/mapbayr",
  "RemoteRef": "HEAD",
  "RemoteSha": "0412b46945afb880f650fdd7926b3b895ac77c2f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 08:54:28 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>",
  "_user": "felicienll",
  "_type": "src",
  "_file": "mapbayr_0.10.2.9002.tar.gz",
  "_fileid": "https://r2.ropensci.org/aa515741414b80ca83b17bfee8daf4edeb1419f594740da48bcfe6ce63325858",
  "_filesize": 359381,
  "_sha256": "aa515741414b80ca83b17bfee8daf4edeb1419f594740da48bcfe6ce63325858",
  "_expires": "2027-01-22T09:45:59.000Z",
  "_created": "2026-10-14T08:54:28.000Z",
  "_published": "2026-10-14T09:46:01.264Z",
  "_buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115767271264,
      "time": 250,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11881423476"
    },
    {
      "job": 115767271122,
      "time": 241,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11880828806"
    },
    {
      "job": 115767271080,
      "time": 300,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11883239077"
    },
    {
      "job": 115767271039,
      "time": 280,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11884080943"
    },
    {
      "job": 115765710900,
      "time": 228,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11880359688"
    },
    {
      "job": 115767271246,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11881188301"
    },
    {
      "job": 115767271118,
      "time": 227,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11880888690"
    },
    {
      "job": 115767271099,
      "time": 220,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11881382864"
    },
    {
      "job": 115767271110,
      "time": 195,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11880539883"
    }
  ],
  "_upstream": "https://github.com/felicienll/mapbayr",
  "_commit": {
    "id": "0412b46945afb880f650fdd7926b3b895ac77c2f",
    "author": "Félicien Le Louedec <felicienlelouedec@proton.me>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #235 from FelicienLL/noEtaDupl\n\nDefine and estimate ETAs from $OMEGA block only.",
    "time": 1786795889
  },
  "_maintainer": {
    "name": "Felicien Le Louedec",
    "email": "felicienlelouedec@proton.me",
    "login": "felicienll",
    "twitter": "@FelicienLL",
    "description": "",
    "uuid": 68648517,
    "orcid": "0000-0003-3699-2729"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "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": "lattice",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "minqa",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "felicienll",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-33",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 25,
  "_contributors": [
    {
      "user": "felicienll",
      "count": 79,
      "uuid": 68648517
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    },
    {
      "user": "lauramvn",
      "count": 1,
      "uuid": 128169341
    }
  ],
  "_userbio": {
    "uuid": 68648517,
    "type": "user",
    "name": "Félicien Le Louedec",
    "followers": 22
  },
  "_downloads": {
    "count": 753,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mapbayr"
  },
  "_devurl": "https://github.com/felicienll/mapbayr",
  "_pkgdown": "https://felicienll.github.io/mapbayr/",
  "_searchresults": 36,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mapbayr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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_estimates",
    "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",
        "use_posterior"
      ]
    },
    {
      "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_estimates",
      "title": "Use parameter estimates",
      "topics": [
        "use_estimates"
      ]
    },
    {
      "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"
  ],
  "_vignettes": [
    {
      "source": "model-specifications.qmd",
      "filename": "model-specifications.html",
      "title": "Model specifications",
      "engine": "quarto::html",
      "headings": [
        "1.  $PARAM block",
        "Covariates",
        "2.  $CMT block",
        "3.  $OMEGA block",
        "4.  $SIGMA block",
        "6.  $TABLE block or $ERROR block",
        "7.  $MAIN block",
        "8.  $CAPTURE block"
      ],
      "created": "2026-08-15 12:11:29",
      "modified": "2026-08-15 12:11:29",
      "commits": 1
    }
  ],
  "_score": 6.90848501887865,
  "_indexed": true,
  "_nocasepkg": "mapbayr",
  "_universes": [
    "felicienll"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.10.2.9002",
      "date": "2026-10-14T08:57:30.000Z",
      "distro": "resolute",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/e03e6ed5607cbb1fd0a364ace643947f94d3cec4be419b9a37fdee7c76a59820",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.10.2.9002",
      "date": "2026-10-14T08:57:30.000Z",
      "distro": "resolute",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/8f94c2311b1fa917807d7ca406408e30583a8d78ab5d483b740552383c455b4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.10.2.9002",
      "date": "2026-10-14T09:43:33.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/bb536ceb0f48a31aefcaae67e7c4baa096916d916de009a082d01f884b68585c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.10.2.9002",
      "date": "2026-10-14T09:39:25.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/6840ca8dea5bd93f62132eeecc311dac05d14a0f67b846e34b92611b8b2c7265",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.10.2.9002",
      "date": "2026-10-14T08:57:07.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/000f307354f41718c27436500c73441d8415f3e2ab0b36d25090501eb7de9135",
      "status": "success",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.10.2.9002",
      "date": "2026-10-14T08:56:22.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/a4426b8a4a88f1e57a68c3def881ebe5bcb88b11295427f9812702e5c1936867",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.10.2.9002",
      "date": "2026-10-14T08:56:27.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/071948f6b57553e2f39b064a303feb7981053fee1954587e9bb4b6a482a68db9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.10.2.9002",
      "date": "2026-10-14T08:56:22.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/0118db6f757ed13835e9d49f096f49583cedb95e1c5202fd68050604e0bd2b4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/38538021182"
    }
  ]
}