install.packages("ggplot2")
library("ggplot2")
vpcfig2(vpcdir = "C:/BIPHENPEDS_NDA205831/PhysiolPopFit/PSN/run2", vpctab = "C:/BIPHENPEDS_NDA205831/PhysiolPopFit/PSN/run2",
vpcresult = "C:/BIPHENPEDS_NDA205831/PhysiolPopFit/PSN/run2",
use.model.path = TRUE, strata.names = CMT, strata.subset = NULL,
percentile = 10, fy = function(y) { y }, fx = function(x) { x },
xlab = ("Time, hrs "), ylab =("Concentration ng/ml"), col.data = "gray20", cex.data = 1,
pch.data = 19, alpha.data = 0.5, col.line = "grey20", lwd.line = 1,
lty.line = c(2, 1, 2), col.segm = c("steelblue", "gray50", "steelblue"),
alpha.segm = 0.6, type = 3)
When this code is run I get the error
Version:1.0 StartHTML:0000000107 EndHTML:0000000928 StartFragment:0000000127 EndFragment:0000000910
Error in vpcfig2(vpcdir = "C:/BIPHENPEDS_NDA205831/PhysiolPopFit/PSN/run2", : could not find function "vpcfig2"