minim.val: Smaller of two values

View source: R/minim.val.R

minim.valR Documentation

Smaller of two values

Description

Returns the smaller of two values.

Usage

minim.val(val1, val2)

Arguments

val1

A numeric: the first value

val2

A numeric: the second value

Details

This function is called in data.optim() or distr.optim() which basically compares and returns the smaller value out of two given sets of values.

Value

returns the minimum value

Author(s)

Karuna Reddy <karuna.reddy@auckland.ac.nz>
MGM Khan <mgm.khan@usp.ac.fj>


stratifyR documentation built on Nov. 13, 2026, 9:06 a.m.