View source: R/pkratio-get-measure.R
getPKRatioMeasure | R Documentation |
Get a summary table of PK Ratio within specific limits
getPKRatioMeasure(data, dataMapping = NULL, ratioLimits = c(1.5, 2))
data |
A data.frame to use for plot. |
dataMapping |
A |
ratioLimits |
Numeric positive values limits |
A data.frame of summary of PK Ratio within specific limits
# Get summary of usual PK Ratio limits
pkData <- data.frame(x = c(1, 2, 1, 2, 3), y = c(5, 0.2, 2, 3, 4))
getPKRatioMeasure(data = pkData, dataMapping = PKRatioDataMapping$new(x = "x", y = "y"))
# Get summary of other PK Ratio limits
getPKRatioMeasure(
data = pkData,
dataMapping = PKRatioDataMapping$new(x = "x", y = "y"),
ratioLimits = seq(1.5, 5, 0.5)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.