R/AutoScript.R
AS.rowmax.Rd
Computes the maximum value of each row in a matrix or data frame, ignoring NAs. Returns NA if an entire row is missing.
NA
AS.rowmax(input)
A numeric matrix or data frame.
A numeric vector of row-wise maxima.
An example use case in survival analysis is determining the date of last follow-up from several dates when the patient was observed.