min_through: give the min value up to that point

View source: R/RcppExports.R

min_throughR Documentation

give the min value up to that point

Description

give the min value up to that point

Usage

min_through(x)

Arguments

x

A numeric vector of values

Details

useful for safety analyses where an event may be defined as a certain change in a biomarker, so need to see how the current measurement compares to the minimum value up to that point

Examples

min_through(c(4, 3, 3, 2, 4, 1))
min_through(c(NA, 2))

metrumresearchgroup/PKPDmisc documentation built on Oct. 21, 2022, 9:41 a.m.