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 的模型庫。模型包括(亦計畫加入)藥代動力學、藥效動力學與疾病模型,供藥物流學使用。若適用,會在每個模型的 meta-data 中加入參考文獻。此套件亦提供模型組合與修改功能,以簡化模型更新。
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.