Learn R Programming

asVPC (version 1.0.2)

VPC.graph: calculate percentiles of original data using bin-related weight percentiles of simulated data with corresponding confidence interval

Description

calculate percentiles of original data using bin-related weight percentiles of simulated data with corresponding confidence interval

Usage

VPC.graph(orig.data, sim.data, N.timebin, N.sim, q.list = c(0.05, 0.5, 0.95), alpha = 0.05, X.name = "TIME", Y.name = "DV", main.title = NULL, opt.DV.point = FALSE, opt.DV.quantile.line = TRUE, opt.SIM.quantile.line = FALSE, opt.SIM.quantile.CI.area = TRUE, Y.min = NULL, Y.max = NULL, plot.flag = TRUE)

Arguments

orig.data
NONMEM data
sim.data
simulated data from NONMEM
N.timebin
number of time bin
N.sim
number of simulation
q.list
list of quantiles for VPC plot
alpha
significance level of CI for each quantile
X.name
x label in VPC plot
Y.name
y label in VPC plot
main.title
title of plot
opt.DV.point
option for drawing data points
opt.DV.quantile.line
option for drawing quantiles of the original data
opt.SIM.quantile.line
option for drawing quantiles of simulated data
opt.SIM.quantile.CI.area
opeions for drawing confidence area of quantiles for simulated data
Y.min
minimum of y axis in VPC plot
Y.max
maximum of y axis in VPC plot
plot.flag
TRUE: drawing plot / FALSE: generate data for drawing plot

Value

plot or the values to draw plot

References

new paper...

Examples

Run this code
data(origdata)
data(simdata)
VPC.graph(origdata,simdata,10,100)

Run the code above in your browser using DataLab