View source: R/qualification-pk-ratio.R
measureValuesBetween | R Documentation |
Measure the values of 'x' between 'left' and 'right' bounds according to 'method'.
measureValuesBetween(x, left, right, method = "count", strict = FALSE)
x |
Numeric values to assess |
left |
Numeric value(s) used as lower bound |
right |
Numeric value(s) used as upper bound |
method |
One of the following methods '"count"', '"ratio"', and '"percent"'. |
strict |
Logical value defining if 'x' is strictly between 'left' and 'right'. Default value is 'FALSE'. |
Measure of 'x' values between 'left' and 'right' bounds
measureValuesBetween(1:12, 7, 9)
measureValuesBetween(1:12, 7, 9, method = "percent")
x <- rnorm(1e2)
measureValuesBetween(x, -1, 1)
measureValuesBetween(x, -1, 1, method = "ratio")
measureValuesBetween(x, cos(x) + 1, cos(x) - 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.