Skip to contents

Launch the app

mvp_app() run_mvp()
Launch Model Visualization Platform App

Models

Built-in templates, compiling a model and what it contains.

mvp_templates()
Built-in model templates
mvp_model()
Compile a model
mvp_params()
Parameters, outputs and variability of a model

Your own models (NONMEM and AI translation)

mvp_translate()
Translate a model to mrgsolve with an AI model
mvp_fetch_paper()
Get a model from a publication
mvp_translation_prompt()
Prompts for translating a model with an AI model
mvp_nonmem_estimates()
Final parameter estimates of a NONMEM run

Dosing, sampling and populations

mvp_dose()
A dosing regimen
mvp_times()
Sampling times
mvp_population()
A virtual population
mvp_covariate()
A covariate distribution
mvp_population_summary() mvp_population_plot()
Summary and plots of a virtual population

Simulation and sensitivity analysis

The Simulation, Variability and Parameter Sensitivity pages from R code.

mvp_simulate()
Simulate a model
mvp_dose_options()
Dosing options
mvp_sensitivity()
Single-parameter sensitivity analysis
mvp_batch()
Batch sensitivity runs (tornado and spider plots)
mvp_exposures()
Exposure metrics
mvp_compare()
Compare simulations
mvp_target()
Target attainment
mvp_plot()
Plot a simulation
mvp_observed()
Observed data to overlay on simulation plots
mvp_bundle()
Reproducible bundle

Data exploration and NCA

mvp_data()
Prepare a dataset as the app's Data Input page
mvp_data_summary()
Summary statistics of a dataset
mvp_data_plot()
General plot of a dataset
mvp_ind_plot()
Individual plots of a dataset
mvp_corr_plot() mvp_hist_plot()
Correlation and histogram plots of a dataset
mvp_nca()
Non-compartmental analysis of a dataset

Back to the app

mvp_open_in_app() mvp_save_session()
Open a simulation in the app

AI assistants (MCP)

Tools for AI assistants such as Claude; see vignette(“using-ai”).

mvp_mcp_tools() mvp_mcp_server()
MVPapp tools for AI assistants (MCP)
mvp_mcp_config()
Set up MVPapp's MCP server in Claude

Virtual patient databases

nhanes.filtered
NHANES population (1999-2023)
cdc.expand
CDC pediatric virtual population
who.expand
WHO pediatric virtual population

Internal

`%>%`
Pipe operator