xgxr v1.0.0

0

Monthly downloads

0th

Percentile

Exploratory Graphics for Pharmacometrics

Supports a structured approach for exploring PKPD data <https://opensource.nibr.com/xgx>. It also contains helper functions for enabling the modeler to follow best R practices (by appending the program name, figure name location, and draft status to each plot). In addition, it enables the modeler to follow best graphical practices (by providing a theme that reduces chart ink, and by providing time-scale, log-scale, and reverse-log-transform-scale functions for more readable axes). Finally, it provides some data checking and summarizing functions for rapidly exploring pharmacokinetics and pharmacodynamics (PKPD) datasets.

Readme

xgxr

license: MIT Travis build status

The xgxr package supports a structured approach for exploring PKPD data, which is used by xGx website. The package contains helper functions for enabling the modeler to follow best R practices (by appending the program name, figure name location, and draft status to each plot) and the package enables the modeler to follow best graphical practices (by providing an xgx theme that reduces chart ink, and by providing time-scale, log-scale, and reverse-log-transform-scale functions for more readable axes). Finally, the package provides some data checking and summarizing functions for rapidly exploring a PKPD dataset.

If you're interested in contributing to this package, we follow the tidyverse style guide.

Functions in xgxr

Name Description
xgx_annotate_filenames Append filenames to bottom of the plot
xgx_breaks_time Sets the default breaks for a time axis
xgx_labels_log10 Nice labels for log10.
xgx_check_data Check data for various issues
xgx_scale_y_log10 log10 scales the y axis with a "pretty" set of breaks
xgx_breaks_log10 Sets the default breaks for log10
xgx_scale_x_time_units Convert time units for plotting
xgx_annotate_status_png Annotate a png file or directory of png files
xgx_dirs2char Append filenames to bottom of the plot
xgx_theme Calls the standard theme for xGx graphics
xgx_geom_ci Plot data with mean and confidence intervals
xgx_theme_set Sets the standard theme for xGx graphics
xgx_scale_x_log10 log10 scales the x axis with a "pretty" set of breaks
nlmixr_theo_sd nlmixr Theophylline SD Data Set
xgx_plot Create a new xgx plot
xgx_summarize_covariates Summarize Covariate information in a dataset
xgx_summarize_data Check data for various issues
xgx_save Saving plot, automatically annotating the status and denoting the filenames
%>% Pipe operator
xgx_scale_y_reverselog10 Reverselog transform for the y scale.
xgx_save_table Saving table as an image, also labeling the program that created the table and where the table is stored
xgx_stat_ci Plot data with mean and confidence intervals
xgx_scale_x_reverselog10 Reverselog transform for the x scale.
theme_xgx Calls the standard theme for xGx graphics
xgx_annotate_status Create a status (e.g. DRAFT) annotation layer
mad_nca Multiple Ascending Dose Noncompartmental Analysis (NCA) dataset
sad Single Ascending Dose Data Set
case1_pkpd Case 1 PKPD Data Set
mad_missing_duplicates Multiple Ascending Dose Data Set (Duplicates Removed)
mad Multiple Ascending Dose Data Set
No Results!

Vignettes of xgxr

Name
sad_pkpd.Rmd
theoph.Rmd
xgxr_overview.Rmd
No Results!

Last month downloads

Details

License MIT + file LICENSE
URL https://opensource.nibr.com/xgx
VignetteBuilder knitr
Encoding UTF-8
LazyData true
RoxygenNote 6.1.1
NeedsCompilation no
Packaged 2019-08-09 16:35:29 UTC; steinanf
Repository CRAN
Date/Publication 2019-08-10 09:30:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/xgxr)](http://www.rdocumentation.org/packages/xgxr)