Calculate key quantities

calc_kqs(
  returned_kq,
  prepared_data = NULL,
  dat = NULL,
  final = NULL,
  relative = NULL,
  ...
)

Arguments

returned_kq

String. Key quantity to be returned.

prepared_data

Data frame. The prepared_data object.

dat

Data frame. The original data object.

final

ggplot2 object. The final figure.

relative

Logical. TRUE/FALSE; specify whether to set y-axis values relative to the ref_line value.

...

Additional arguments to be passed to the function.

Value

The value of the specified key quantity.

Examples

if (FALSE) { # \dontrun{
calc_kqs(
  returned_kq = "F.min",
  dat = dat
)
} # }