getPKRatioMeasure: getPKRatioMeasure

View source: R/pkratio-get-measure.R

getPKRatioMeasureR Documentation

getPKRatioMeasure

Description

Get a summary table of PK Ratio within specific limits

Usage

getPKRatioMeasure(data, dataMapping = NULL, ratioLimits = c(1.5, 2))

Arguments

data

A data.frame to use for plot.

dataMapping

A PKRatioDataMapping object mapping x, y and aesthetic groups to their variable names of data.

ratioLimits

Numeric positive values limits

Value

A data.frame of summary of PK Ratio within specific limits

Examples

# 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)
)


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