max_through: give the max value up to that point

View source: R/RcppExports.R

max_throughR Documentation

give the max value up to that point

Description

give the max value up to that point

Usage

max_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 maximum value up to that point

Examples

max_through(c(4, 3, 3, 2, 5, 1))
max_through(c(NA, 2, 1, 4, 2))

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