getGuestValues: getGuestValues

View source: R/plot-ddiratio.R

getGuestValuesR Documentation

getGuestValues

Description

Get a data.frame with Guest et al. ratio limits with:

  • ymax = x.limit

  • ymin = x/limit

  • limit = (delta+2(x-1))/x

Usage

getGuestValues(x, delta = 1, residualsVsObserved = FALSE)

Arguments

x

Numeric values input of Guest function

delta

Numeric value parameter of Guest function

residualsVsObserved

Logical value defining if limits are calculated as residuals vs observed, instead of predicted vs observed.

Value

A data.frame with x, ymin and ymax defining Guest et al. limits

References

https://dmd.aspetjournals.org/content/39/2/170

Examples

# Get predicted vs observed Guest et al. limits
getGuestValues(x = 10^seq(-2, 2, 0.2))

# Get residuals vs observed Guest et al. limits
getGuestValues(x = 10^seq(-2, 2, 0.2), residualsVsObserved = TRUE)


Open-Systems-Pharmacology/TLF-Library documentation built on Feb. 8, 2025, 11:22 a.m.