NEWS.md
Added new functionality for dose-proportionality assessment with df_doseprop
and plot_doseprop
, including helpers mod_loglog
and df_loglog
to perform and tabulate power law (log-log) regression of exposure versus dose
Added new internal package dataset data_sad_nca
for use with dose-proportinality assessment functions
Added helper function dvtime_caption
to generate the caption for plot_dvtime
Added helper function pmxhelpr_vpc_theme
to capture default VPC plot aesthetics `
Revised vignettes to describe workflow with new default aesthetics
Remove use of log_y
argument in VPC plot examples and added rationale to primary vignette for plot_vpc_exactbins
Add unit tests for all primary functions
plot_dvtime
to ensure median + IQR error bars
prints on both linear and log-scale axes when cent = "median_iqr"
cent = "median_iqr"
option to plot_dvtime
to plot median with inter-quartile range error barsind_dv
logical argument in plot_dvtime
to grp_dv
to generalize use of grouping beyond connecting points within an individual subjectgrp_var
argument to plot_dvtime
to allow specification of the variable assigned to the group aesthetic by the user. Default is grp_var = "ID"
plot_vpc_exactbins
when ordered factor variables are pasted to the strat_var
argument. Ordered factors cannot be passed to the underlying stratification function from the vpc
package (add_stratification()
); therefore, ordered factors will be coerced to unordered factors within plot_vpc_exactbins
Added plot_dvtime
function for exploratory concentration-time plotting
Added breaks_time
function to automatically determine x-axis breaks for time
Functionality from breaks_time
added to plot_vpcexactbins
Exploratory Data Analysis
vignette created to demonstrate functionality of new functions
Added dependency: labelling
strat_var
argumentlloq
argument of plot_legend()
to character typeFull VPC workflow now available in Version 0.1.0 with three vignettes to demonstrate this functionality!
VPC Plot Aeesthetics
vignette demonstrating options for modifying plot aesthetics, creating a plot legend using plot_legend()
, and adding the VPC plot and legend objects together into a single object using the patchwork
package
Additional functionality for plot_vpc_exactbins
shown
argument added to facilitate customization of which layers are shown in the plot and standardize with new function plot_legend
. Passed to show
argument of vpc::vpc()
plot_legend
helper function to generate a legend for a VPC plot generated using plot_vpc_exactbins()
, which can be combined with the VPC plot using the patchwork
package
VPC Plots with BLQ Censoring
vignette demonstrating appropriate handling of data missing due to assay sensitivity (below the lower limit of quantification) using plot_vpc_exactbins()
and workflow leveraging df_mrgsim_replicate
.
plot_vpc_exactbins
loq
argument added to facilitate incorporating BLQ censoring of observed data in summary quantilesvpcdb = TRUE
to vpc::vpc()
data_sad
NONMEM and mrgsolve analysis-ready dataset for a hypothetical SAD study with assessment of food effect.
model
mrgsolve model file (class mrgmod
) in the internal pmxhelpr model library .
model_load
function to load internal models from the pmxhelpr model library.
df_mrgsim_replicate
mrgsim wrapper function to run a simulation that replicates the input dataset multiple times, intended for application to generating Visual Predictive Check (VPC) simulation-based model diagnostics.
plot_vpc_exactbins
vpc wrapper function to using an exact time binning variable in the input dataset (e.g. nominal time) with plotting of observed data points using actual time.
VPC Plots with Exact Bins
vignette demostrating use case for plot_vpc_exactbins()
and workflow leveraging df_mrgsim_replicate
.