basic.eta.GOF.Rd
Provides histogram and/or QQ-norm GOF for all ETA's included in the input data.frame with caption added as reurned by get.caption
basic.eta.GOF(
data,
title = "",
global.ggplot.options = NULL,
type = c("both", "qqnorm", "hist"),
ETA.subset = NULL,
refline = TRUE,
drop.fixed = TRUE,
id.column = "ID",
standardize = TRUE,
bins = NA,
control = GOF.control()
)
eta.hist.GOF(
data,
title = "",
drop.fixed = TRUE,
refline = TRUE,
id.column = "ID",
standardize = TRUE,
bins = NA,
control = GOF.control()
)
eta.qqnorm.GOF(
data,
title = "",
drop.fixed = TRUE,
refline = TRUE,
id.column = "ID",
standardize = TRUE,
control = GOF.control()
)
data.frame to plot
title
ggplot option added to each ggplot before plotting/returning object
do only qq-norm plots (qqnorm), only histograms (hist), or do both (both)
index for subset of ETA's to plot. If NULL (default) all ETA's are plotted.
add reference line (default =TRUE) or not (FALSE)
drop ETA's that are fixed, i.e. any ETA with the same value in all subjects
column name that indicate subject identifier
Standardize all ETA's (e.g. scale to unit variance)
number of histogram bins, if NA, bins are set using Sturges' formula
an optional list of control settings. See GOF.control for the names of the settable control values and their effect.
# Get path to the example files included in nonmem2R package
file1 <- system.file("extdata", "sdtab999", package = "nonmem2R")
sdtab<-read.table(file=file1,skip=1,header=TRUE)
set.script.name("MyScript.R")
basic.eta.GOF(sdtab)