Skip to contents

R6 objects

Create Pmetrics R6 objects

PM_batch()
Execute a Batch of PM_fit objects
PM_compare()
Compare NPAG or IT2B runs
PM_cov
Contains covariate data
PM_cycle
Pmetrics Run Cycle Information
PM_data
Defines the PM_data object
PM_final
Final Cycle Population Values
PM_fit
Object to define and run a model and data in Pmetrics
PM_load()
Load Pmetrics NPAG or IT2B output
PM_model
Defines the PM_model class
PM_op
Observed vs. predicted data
PM_parse()
Parse Pmetrics output
PM_pop
Population predictions at short intervals
PM_post
Individual Bayesian posterior predictions at short intervals
PM_report()
Generate a report
PM_tutorial()
Pmetrics tutorial
PM_valid
Pmetrics validation object
ab()
Initial range for primary parameter values
additive()
Additive error model
combination()
Combination error model
covariate()
Model covariate declaration
errorPoly()
Assay error coefficients
fixed()
Fixed primary parameter values
msd()
Initial mean/SD for primary parameter values
proportional()
Proportional error model

Make functions

Functions for making Pmetrics objects

PMtree()
Create a new Pmetrics folder tree
makeAUC()
Calculation of AUCs
makeCov()
Extract covariate data
makeCycle()
Summarize Pmetrics Run Cycle Information
makeErrorPoly()
Assay error polynomial coefficients
makeFinal()
Summarize NPAG or IT2B Final Cycle Population Values
makeNCA()
Non-compartmental analysis
makeOP()
Generated observed vs. predicted data
makePTA()
Calculation of PTAs
makePTAtarget()
Make a Percent Target Attainment (PTA) Target
makePop()
Individual Bayesian population prior predictions at short intervals
makePost()
Individual Bayesian posterior predictions at short intervals
make_NCA()
Non-compartmental analysis
make_valid()
Create a Pmetrics validation object

Optimal sampling

Functions to calculate optimal sample times

Dopt()
Compute D-optimal Sample Times
MM_opt()
Compute MM-optimal Sample Times

Plot

Functions for plotting Pmetrics output

plot(<MMopt>)
Plot Pmetrics Multiple-Model Optimal Sampling Objects
plot(<PM_cov>)
Plot Pmetrics Covariate objects
plot(<PM_cycle>)
Plot Cycle Information
plot(<PM_data>)
Plot PM_data Time-Output Data
plot(<PM_final>)
Plot Pmetrics Final Cycle Parameter Value Distributions
plot(<PM_model>)
Plot PM_model objects
plot(<PM_op>)
Plot Pmetrics Observed vs. Predicted Objects
plot(<PM_pta>)
Plot PM_pta Percent Target Attainment objects
plot(<PM_sim>)
Plot Pmetrics Simulation Objects
plot(<PM_simlist>)
Plot list of Pmetrics Simulation Objects
plot(<PM_valid>)
Plot Pmetrics Validation Objects
plot(<PMcov>)
Plot Pmetrics Covariate objects
plot(<PMcycle>)
Plot NPAG Cycle Information
plot(<PMdopt>)
Plot Pmetrics D-optimal Times
plot(<PMfinal>)
Plot Pmetrics Final Cycle Parameter Value Distributions
plot(<PMmatrix>)
Plot PMmatrix Time-Output Data
plot(<PMop>)
Plot Pmetrics Observed vs. Predicted Objects
plot(<PMpta>)
Plot PMpta Percent Target Attainment objects
plot(<PMsim>)
Plot Pmetrics Simulation Objects
plot(<PMvalid>)
Plot Pmetrics Validation Objects
ab_line()
Add lines to plotly plot
add_shapes()
Add shapes to plotly plot
add_smooth()
Add regression to plotly plot
export_plotly()
Export plotly plot
sub_plot()
Display multiple plotly plots

Summary

Functions for summarizing Pmetrics output

summary(<PM_cov>)
Wrapper function for summmary.PMcov
summary(<PM_data>)
Summarize a Pmetrics PM_data object
summary(<PM_final>)
Wrapper function for summmary.PMfinal
summary(<PM_op>)
Wrapper function for summmary.PMop
summary(<PM_pta>)
Summarize PM_pta
summary(<PMcov>)
Summarize Covariates and Bayesian Posterior Parameter Values
summary(<PMdopt>)
Summarize PMdopt objects
summary(<PMfinal>)
Summary Statistics for PMfinal Objects
summary(<PMmatrix>)
Summarize PMmatrix objects
summary(<PMop>)
Summarize Observations and Predictions
summary(<PMpta>)
Summarize Percent Target Attainment

Print

Functions for printing Pmetrics output

print(<MMopt>)
Print Pmetrics Multiple-Model Optimal Sampling Objects
print(<PMdopt>)
Print PMdopt
print(<PMerr>)
Print Data Errors
print(<PMnpc>)
Print NPC
print(<summary.PMfinal>)
Print Summary of Parameter Values and Credibility Intervals
print(<summary.PMmatrix>)
Summarize Covariates and Bayesian Posterior Parameter Values
print(<summary.PMop>)
Print Summary of Observations and Predictions

Run

Run functions for modeling or simulating data

ERRrun()
Execute an Assay Error Estimation run.
ITrun()
Execute an IT2B run.
NPrun()
Execute an NPAG run.
SIMrun()
Run the Pmetrics Simulator

Parse/load

Parse functions for modeled or simulated data

ITparse()
Parse Pmetrics IT2B Output
NPparse()
Parse Pmetrics NPAG Output
PM_parse()
Parse Pmetrics output
SIMparse()
Parse Pmetrics Simulator Output

Auxilliary

Auxilliary functions

qgrowth()
Extract CDC pediatric growth charts
zBMI()
Extract CDC pediatric BMI z-scores
ss.PK()
Sample size calculations for Phase 1 PK study design
mtsknn.eq()
Compare discrete distributions
PM_compare()
Compare NPAG or IT2B runs
PMgetCRCL()
Add Jelliffe Creatinine Clearance
PMstep()
Stepwise covariate-parameter regressions
getCov()
Extract covariate information
getDefaultColors()
Get a list of default colors
getFixedColNames()
Names of fixed columns
getFixedColNum()
Number of fixed columns
getPMoptions()
Get Pmetrics User Options
getPalettes()
Get color palette

Datasets

Pmetrics datasets

Data processing

Data processing and interconversion

NM2PM()
Convert NONMEM to Pmetrics Data Files
PMwrk2csv()
Convert Old .wrk Files to .csv Matrix File
PMmb2csv()
Convert Old .mb or USC*PACK Files to .csv Matrix File
PMmatrixRelTime()
Convert Absolute Dates and Times to Relative Hours
PMreadMatrix()
Read a Pmetrics data file
PMwriteMatrix()
Write a Pmetrics .csv Matrix File

Utility

Utility functions

PMFortranConfig()
Configure Fortran
PMbuild()
Build Pmetrics
PMcheck()
Check Pmetrics Inputs for Errors
PMcode()
Pmetrics GUI Tutor
PMpatch()
Download and install Pmetrics patches
ERRreport()
Summarize ERR Run
PMsave()
Save Pmetrics objects
PMtest()
Test Pmetrics
getPMoptions()
Get Pmetrics User Options
setPMoptions()
Set Pmetrics User Options
editPMoptions()
Edit Pmetrics User Options
movePMoptions()
Move Pmetrics User Options
update_gfortran()
Download and install Gfortran updates

Reference

Reference functions

PMFortranConfig()
Configure Fortran
PMmanual()
Open user and function manuals. [Stable]
PMnews()
Pmetrics changelog
Pmetrics-package Pmetrics
Parametric and non-parametric modeling and simulation of pharmacokinetic-pharmacodynamic systems.