lh_gof: SAVE BATCH PLOTS

View source: R/lhplot.R

lh_gofR Documentation

SAVE BATCH PLOTS

Description

Generate GOF1

Usage

lh_gof(
  dat = res,
  sortby = "STUDYID",
  pn = "GOFoverall.png",
  foot =
    "Note: for legibility, observations at TAD>100 h and prediction failures were not displayed",
  xtit1 = "Individual Predicted\n Concentration (ng/mL)",
  ytit1 = "Observed Concentration\n (ng/mL)",
  xtit2 = "Population Predicted\n Concentration (ng/mL)",
  ytit2 = "Observed Concentration\n (ng/mL)",
  ytit3 = "Normalized Prediction\n Distribution Errors",
  path = "./",
  cwres1 = c("CWRES", "PRED", "Conditional Weighted Residuals",
    "Population Predicted\n Concentration (ng/mL)"),
  cwres2 = c("CWRES", "TAD", "Conditional Weighted Residuals", "Time after dose (h)")
)

Arguments

data

data frame

Examples

lh_gof("test.png")
lh_gof() need PRED, IPRED, DV, time, TAD,CWRES

leonpheng/lhplot documentation built on April 13, 2025, 1:48 p.m.