modavg_xpdb | R Documentation |
This function is a helper for plotting functions where models in
an xpose_set
can be averaged together. The implementation attempts
to match and extend from the cited prior work.
modavg_xpdb(
xpdb_s,
...,
.lineage = FALSE,
avg_cols = NULL,
avg_by_type = NULL,
algorithm = c("maa", "msa"),
weight_type = c("individual", "population"),
auto_backfill = FALSE,
weight_basis = c("ofv", "aic", "res"),
res_col = "RES",
quiet
)
xpdb_s |
< |
... |
< |
.lineage |
< |
avg_cols |
< |
avg_by_type |
< |
algorithm |
< |
weight_type |
< |
auto_backfill |
< |
weight_basis |
< |
res_col |
< |
quiet |
< |
Weight-averaged <xpose_data
> object.
Uster, D.W., Stocker, S.L., Carland, J.E., Brett, J., Marriott, D.J.E., Day, R.O. and Wicha, S.G. (2021), A Model Averaging/Selection Approach Improves the Predictive Performance of Model-Informed Precision Dosing: Vancomycin as a Case Study. Clin. Pharmacol. Ther., 109: 175-183. https://doi.org/10.1002/cpt.2065
pheno_set %>%
modavg_xpdb(
avg_cols = IPRED,
auto_backfill = TRUE,
algorithm = "maa",
weight_basis = "aic"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.