nmACPlot: NONMEM autocorrelation plot

Description Usage Arguments Value Author(s) Examples

Description

nmACPlot plots a given variable in a data set against itself "lagged" by one time step.

Usage

1
2
3
4
nmACPlot(obj, var, tVar = "TIME", iVar = "ID", bVars = NULL,
  gVars = NULL, titles = "", xLabs = NULL, yLabs = NULL,
  extraSubset = NULL, addGrid = TRUE, problemNum = 1,
  subProblems = 1, ...)

Arguments

obj

NMProblem or data.frame object

var

Name of the variable to be plotted

tVar

Name of the "time" variable

iVar

Identifier variable

bVars

"by" variables

gVars

grouping variable

titles

Main title

xLabs

x-axis label

yLabs

y-axis label

extraSubset

Not used at the moment

addGrid

logical flag. Should a grid be added?

problemNum

The problem required for a NMRun object.

subProblems

The sub problem of a run with simulations.

...

Extra parameters passed to nmScatterPlot

Value

Obejct of class multiTrellis

Author(s)

Mango Solutions

Examples

1
2
3
4
testDataPath <-  system.file("unittests/testdata/TestRun", package = "RNMGraphics")
testDataList <- RNMImport::importNm("TestData1.ctl", path = testDataPath)
x <- RNMImport::nmData(testDataList)
nmACPlot(x, "IPRED")

MangoTheCat/RNMGraphics documentation built on May 8, 2019, 3:51 p.m.