library(xpose) xpdb <- xpdb_ex_pk xpdb$options$quiet <- TRUE xpdb <- as.xpdb(xpdb) knitr::opts_chunk$set(fig.path = 'man/figures/', fig.dpi = 96, fig.align = 'center')
xpose was designed as a ggplot2-based alternative to xpose4. xpose aims to reduce the post processing burden and improve diagnostics commonly associated the development of non-linear mixed effect models.
# Install the lastest release from the CRAN install.packages('xpose') # Or install the development version from GitHub # install.packages('devtools') devtools::install_github('UUPharmacometrics/xpose')
library(xpose)
xpdb <- xpose_data(runno = '001')
xpdb
summary(xpdb, problem = 1)
dv_vs_ipred(xpdb)
ind_plots(xpdb, page = 1)
xpdb %>% vpc_data(stratify = 'SEX', opt = vpc_opt(n_bins = 7, lloq = 0.1)) %>% vpc()
eta_distrib(xpdb, labeller = 'label_value')
prm_vs_iteration(xpdb, labeller = 'label_value')
The xpose website contains several useful articles to make full use of xpose
When working with xpose, a working knowledge of ggplot2 is recommended. Help for ggplot2 can be found in:
Please note that the xpose project is released with a Contributor Code of Conduct and Contributing Guidelines. By contributing to this project, you agree to abide these.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.