smooth-app
A collaborative, free and open database of ingredients, nutrition facts and information on food products from around the world
翻译准备中
一个用于 nlmixr2 的模型库。模型包括(并计划包括)药代动力学、药效动力学和用于药物流行学的疾病模型。如适用,包含每个模型的参考文献。
AI 翻译
A model library for nlmixr2. The models include (and plan to include) pharmacokinetic, pharmacodynamic, and disease models used in pharmacometrics. Where applicable, references for each model are incl
健康R · Visual Basic 6.0GitHub @nlmixr2在线运营者未确认
试用过了吗? 点一下就好,无需登录。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证nlmixr2 的模型库。模型包括(并计划加入)药代动力学、药效动力学以及药物流行学中使用的疾病模型。如适用,参考文献会包含在每个模型的元数据中。该软件包还提供模型组合和修改功能,以便于模型更新。
AI 翻译
A model library for nlmixr2. The models include (and plan to include) pharmacokinetic, pharmacodynamic, and disease models used in pharmacometrics. Where applicable, references for each model are included in the meta-data for each individual model. The package also includes model composition and modification functions to make model updates easier.
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
This is a model library for nlmixr2. The package allows a few ways to interact with the model library:
You may also modify any model from the library (or your own models) with a
piping interface. The code below adds inter-individual variability on ka and v
and then switches residual error to additive and proportional.查看完整 README ↗Which version are you on?
This site documents the development version. The articles here cover every model in the development library; the CRAN release contains far fewer, so a
readModelDb()call copied from an article will fail with'name' not in databaseif you are on CRAN.
models CRAN 0.3.2(released 2026-01-18)59 development 0.3.2.90002912 To get the models these articles describe:
install.packages( "nlmixr2lib", repos = c("https://nlmixr2.r-universe.dev", getOption("repos")) )Then restart R.
readModelDb()andmodeldbboth resolve against the package as loaded, so a reinstall in a running session leaves the old model list in memory and the new models will still appear missing.Check it worked:
packageVersion("nlmixr2lib") # 0.3.2.9000 nrow(nlmixr2lib::modeldb) # 2912The r-universe repository is needed rather than plain
install_github(): the development version requiresrxode2 (>= 5.1.8), which is not on CRAN yet, and r-universe serves prebuilt binaries so no compiler is required.
This is a model library for nlmixr2. The package allows a few ways to interact with the model library:
# See all available models
modellib()
# Load the "PK_1cmt" model
modellib(name="PK_1cmt")
# Switch residual error to additive
modellib(name="PK_1cmt", reserr = "addSd")
# Add inter-individual variability on ka and v and switch residual error to
# additive and proportional
modellib(name="PK_1cmt", eta = c("lka", "lv"), reserr = c("addSd", "propSd"))
You may also modify any model from the library (or your own models) with a piping interface. The code below adds inter-individual variability on ka and v and then switches residual error to additive and proportional.
modellib(name="PK_1cmt") |>
addEta(c("lka", "lv") |>
addResErr(c("addSd", "propSd"))
The modellib function is set-up in way that it can be easily
extended and used in other applications. A possible extension could
be implementation in a shiny app. An app can be created to easily add
new models to the model library database (curated?), and directly make
these models available for other users. I believe there can be added
value in having a base model library that can be easily extended by
the community this way.