eta-correlations: Plot ETA-covariate correlations

etacorr_contR Documentation

Plot ETA-covariate correlations

Description

For categorical covariates, use etacorr_cat(). For continuous covariates, use etacorr_cont().

Usage

etacorr_cont(runno, eta, ...)

Arguments

runno

Either a xpose compliant run number, NONMEM data in the form of a data frame or data frame extension, or string representing the path to a NONMEM tablefile

eta

Which ETAs to plot, e.g. eta = c(1, 2)

...

Covariates to plot against ETAs.

Value

No return value, called for side effects

Author(s)

Kendra Radtke, Dhruv Vaish, Sandy Floren

Examples

## Not run: 
# Continuous Covariates:

# Plot WT, HT, and AGE against ETA1 and ETA2 from run3
etacorr_cont(3, c(1, 2), WT, HT, AGE)

# Plot WT, HT, and AGE against ETA1 and ETA2 from an xpose_data object
xpdb <- xpose::xpose_data(3)
etacorr_cont(xpdb, c(1, 2), WT, HT, AGE)

# Categorical Covariates

# Plot HIV against ETA1 and ETA2 from run3
etacorr_cat("run3", c(1, 2), WT, HT, AGE)

## End(Not run)

saviclab/savictools documentation built on Dec. 7, 2023, 11:56 p.m.