Skip to contents

Computes the minimum value of each row in a matrix or data frame, ignoring NAs. Returns NA if an entire row is missing.

Usage

AS.rowmin(input)

Arguments

input

A numeric matrix or data frame.

Value

A numeric vector of row-wise minima.

Details

An example use case in survival analysis is determining the event date for progression-free survival based on the dates of progression and death.