Use tidyvpc package to parameterize VPC from Shiny GUI and customize plot using ggplot2. Code generation functionality allows you to reproduce tidyvpc object and ggplot2 plot in your local R session via R script saved to your working directory.

vpcResultsUI(
  observed,
  simulated,
  ObsName = NULL,
  vpc.type = c("continuous", "categorical"),
  tagged = NULL,
  settings = NULL,
  ...
)

Arguments

observed

Observed input data

simulated

Simulated input data

ObsName

Optional character value specifiying the name of the observed dependent variable (e.g., ObsName)

vpc.type

Character value specifying type of VPC

tagged

A list of tagged VPC's or model diagnostics created from previous Certara.VPC or Certara.ModelResults session

settings

A list of plot customization settings used in previous Certara.VPC or Certara.ModelResults session

...

Arguments for initiation from Pirana

Examples

if (FALSE) {
vpcResultsUI(tidyvpc::obs_data, tidyvpc::sim_data)
}