View source: R/plot-ddiratio.R
getGuestValuesFromDataMapping | R Documentation |
Get a data.frame with Guest et al. ratio limits from data
and its DDIRatioDataMapping
getGuestValuesFromDataMapping(data, dataMapping)
data |
A data.frame to use for plot. |
dataMapping |
A |
A data.frame with x
, ymin
and ymax
defining Guest et al. limits
# Get the data.frame of Guest et al. limits
ddiData <- data.frame(x = c(1, 2, 1, 2, 3), y = c(5, 0.2, 2, 3, 4))
getGuestValuesFromDataMapping(
data = ddiData,
dataMapping = DDIRatioDataMapping$new(x = "x", y = "y")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.