Generates plots of eta/covariate (lin and log cont cov) correlations for NLME projects

Works for all interfaced NLME tools (NONMEM, MONOLIX, NLMIXR). If called without a filename it will return the ggplot objects as a list. If called with filename it will generate the PDF file at the given location. The data used for the plot are returned as attr(,"plotData") in each list element.

plotETACOV_IQRnlmeProject(
  projectPath,
  filename = NULL,
  CORR_THRESHOLD = 0.3,
  ETA_THRESHOLD_REL = 0,
  stratCov = NULL,
  includedPars = NULL,
  excludedPars = NULL
)

Arguments

projectPath

Path to an NLME project

filename

exported figure(s) as PDF

CORR_THRESHOLD

Threshold for correlation. If above then different color used for plotting

ETA_THRESHOLD_REL

ETA values with abs(ETA) < ETA_THRESHOLD_REL * mean(abs(ETA)) will not be shown in the plots and will not be considered for the computation of shrinkage and correlation.

stratCov

Character string with name of covariate to use for stratification

includedPars

vector with parameter names to be included from the plots, all if NULL (default)

excludedPars

vector with parameter names to be excluded from the included parameters, none if NULL (default)

Value

List with ggplot2 objects with each "plotData" attribute, containing the data that were plotted

See also

Other IQRnlmeProject: IQRnlmeEst(), IQRnlmeProject(), addCovariateToModelSpec_IQRest(), addPar_modelSpec(), as_IQRnlmeProject(), as_IQRnlmeProjectMulti(), bootstrap_IQRnlmeProject(), compareModels_IQRnlmeProjectMulti(), convertETAINDIVPRED_IQRnlmeProject(), covariateEffect_IQRnlmeProject(), data_IQRest(), dosing_IQRest(), duplicate_IQRnlmeProject(), eigenvalues_IQRnlmeProject(), exportVirtualSubjects_IQRnlmeProject(), getData_IQRnlmeProject(), getETAs_IQRnlmeProject(), getEst_IQRnlmeProject(), getHeader_IQRnlmeProject(), getIndivParameters_IQRnlmeProject(), getIndivPredictions_IQRnlmeProject(), getModel_IQRnlmeProject(), getObsPred_IQRnlmeProject(), getPopParameters_IQRnlmeProject(), getResults_IQRnlmeProject(), getResults_IQRnlmeProjectMulti(), hasrun_IQRnlmeProject(), hasrun_IQRnlmeProjectMulti(), informationContent_IQRnlmeProject(), is_IQRnlmeEst(), is_IQRnlmeProject(), is_IQRnlmeProjectMulti(), is_MONOLIX_IQRnlmeProject(), is_NLMIXR_IQRnlmeProject(), is_NONMEM_IQRnlmeProject(), modelSpec_IQRest(), outlier_IQRnlmeProject(), plot.IQRnlmeProject(), plot.IQRnlmeProjectMulti(), plotBLQVPC_IQRdataVPC(), plotConvergence_IQRnlmeProject(), plotETA_IQRnlmeProject(), plotGOF_IQRnlmeProject(), plotINDIVSIM_IQRnlmeProject(), plotINDIV_IQRnlmeProject(), plotMEANSIM_IQRnlmeProject(), plotVPC_IQRdataVPC(), pred_IQRnlmeProject(), print.IQRnlmeEst(), print.IQRnlmeProject(), print.IQRnlmeProjectMulti(), print_modelSpec(), run_IQRnlmeProject(), run_IQRnlmeProjectMulti(), sample_IQRnlmeProject(), scm_IQRnlmeProject(), summary.IQRnlmeProject(), summary.IQRnlmeProjectMulti(), summaryComments_IQRnlmeProjectMulti(), summaryCorrelations_IQRnlmeProjectMulti(), summaryCovariates_IQRnlmeProjectMulti(), summaryParameters_IQRnlmeProjectMulti(), vpc_IQRnlmeProject()