{
  "_id": "6af6f357535793c85332bafc",
  "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-11-13 11:13:53 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/0437f15629a587517769deaf20105e9e4097d8306c05d4e49e44b4c0f66e1141",
  "_filesize": 359366,
  "_sha256": "0437f15629a587517769deaf20105e9e4097d8306c05d4e49e44b4c0f66e1141",
  "_expires": "2027-02-21T11:24:05.000Z",
  "_created": "2026-11-13T11:13:53.000Z",
  "_published": "2026-11-20T01:33:43.359Z",
  "_upstream": "https://github.com/felicienll/mapbayr",
  "_status": "success",
  "_maintainer": {
    "name": "Felicien Le Louedec",
    "email": "felicienlelouedec@proton.me",
    "login": "felicienll",
    "twitter": "@FelicienLL",
    "description": "",
    "uuid": 68648517,
    "orcid": "0000-0003-3699-2729"
  },
  "_jobs": [
    {
      "job": 131852038348,
      "time": 218,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14031328807"
    },
    {
      "job": 131852038466,
      "time": 211,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14031004512"
    },
    {
      "job": 131852039251,
      "time": 333,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14032067163"
    },
    {
      "job": 131852038405,
      "time": 276,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14032156113"
    },
    {
      "job": 131850331283,
      "time": 219,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14030648572"
    },
    {
      "job": 131852038377,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14030648869"
    },
    {
      "job": 131852038438,
      "time": 284,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14031478219"
    },
    {
      "job": 131852038426,
      "time": 246,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14032135923"
    },
    {
      "job": 131852038449,
      "time": 333,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14031513463"
    }
  ],
  "_buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 26,
  "_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": 587,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mapbayr"
  },
  "_devurl": "https://github.com/felicienll/mapbayr",
  "_pkgdown": "https://felicienll.github.io/mapbayr/",
  "_searchresults": 33,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.2",
  "_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.887729797288031,
  "_indexed": true,
  "_nocasepkg": "mapbayr",
  "_universes": [
    "felicienll"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.10.2.9002",
      "date": "2026-11-13T11:16:21.000Z",
      "distro": "resolute",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/5abde3ffc53c32e2ea6e90b73baf3765621e7bc73c2e7c566e604f64602b21ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.10.2.9002",
      "date": "2026-11-13T11:16:16.000Z",
      "distro": "resolute",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/2333a3dedad13a2fe2f52ad42453f41fd7cc4ec06cad518602f7f8cf03e744ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.10.2.9002",
      "date": "2026-11-13T11:21:12.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/ec9776ad7e897f410f772354ffbdbdde3e6985b0fb6f3f2f3cfe158aeb69d313",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.10.2.9002",
      "date": "2026-11-13T11:18:33.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/60307f4552f50431ed44f2f63ebdcbd7097ef4a40cc11e2b269d820a472603f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.10.2.9002",
      "date": "2026-11-13T11:16:06.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/3c8adf83befde22c31e96e41b5554dda0a1bd48efde9c21efd543ddd49e19025",
      "status": "success",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.10.2.9002",
      "date": "2026-11-13T11:16:37.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/4521d549bf33aa57ccb1cb6165981d02e75ba6b0f695efd0d2caab2ae4d8d02d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.10.2.9002",
      "date": "2026-11-13T11:16:25.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/de9ad4d0b40aaecd8715ba69611d03c05a463233a6e29c134d21626549f07a64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.10.2.9002",
      "date": "2026-11-13T11:16:45.000Z",
      "commit": "0412b46945afb880f650fdd7926b3b895ac77c2f",
      "fileid": "https://r2.ropensci.org/414e36f772862e65a56d1a444b6de8322fb018457d60b53e10b0dbc93fb3a6f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felicienll/actions/runs/43414883684"
    }
  ]
}