nm.compare.plot: Create a runrecord like GOF plot of selected runs

View source: R/nm.compare.plot.r

nm.compare.plotR Documentation

Create a runrecord like GOF plot of selected runs

Description

Create a runrecord like GOF plot of selected runs

Usage

nm.compare.plot(
  runs,
  path = getOption("nmDir"),
  keep.cols = c("ID", "DV", "CWRES", "PRED", "IPRED", "TIME", "EVID"),
  alias = list(DV = "CONC", TIME = "TAFD"),
  dot.size = 1,
  text.size = 1,
  log = FALSE
)

Arguments

runs

character vector with rootname runs like c("run1","run2")

path

directory where runs reside

keep.cols

needs at the minimum c('ID','DV','CWRES','PRED','IPRED','TIME','EVID') but can be altere to match other data columns

alias

a named list to rename DV and TIME variables, in case in $DATA they have been specified as ...=DV and/or ...=TIME

dot.size

scalar for GOF plot dots

text.size

scalar for text size in strip labels

log

a logical indicating if the GOF plots need to be logged

Value

A plot

Examples

nm.compare.plot(runs = c("example1","example2")
, path =getOption("qpExampleDir")
, alias = list(DV = "CONC",TIME = "TIME")
, keep.cols = c('ID','DV','CWRES','PRED','IPRED','TIME','EVID')
, text.size = 0.6
)

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.