rowMin: Gives the minimum value of each row

View source: R/utils-DF.R

rowMinR Documentation

Gives the minimum value of each row

Description

Gives the minimum value of each row

Usage

rowMin(DF, type = "val")

Arguments

DF

data.frame or matrix

type

string to indicate how the result should be formatted "val" (default) returns the minimum values, "ind" returns the indices (as a named vector) of the minimum values, "all" returns a data.frame with the minimum value for each row and the indices.

Value

the minimum values and (or) their indices


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.