col_min_idx {skm}R Documentation

col_min_idx

Description

calculate colvec min value index within limited range

Usage

col_min_idx(u, wlmt)

Arguments

u

u: a numeric colvec

wlmt

wlmt: limit search on colvec on indices within wlmt

Value

id an index of min value in u within wlmt w.r.t to original index

Note

cpp use index start from 0 vs r use index start from 1

in case of equal std:min/std:max take first index seen

See Also

Other matrix_minmax: col_max_idx, col_max_val, col_min_val, col_rgn_val


[Package skm version 0.1.5.4 Index]