Learn R Programming

stratifyR (version 1.0-4)

minim.val: To identify the minimum value out of two given sets of values

Description

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.

Usage

minim.val(val1, val2)

Value

returns the minimum value

Arguments

val1

A numeric: the first value

val2

A numeric: the second value

Author

Karuna Reddy <karuna.reddy@usp.ac.fj>
MGM Khan <khan_mg@usp.ac.fj>