give the min value up to that point
min_through(x)
x | A numeric vector of values |
---|
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
#> [1] 4 3 3 2 2 1#> [1] NA 2