n_tries {metamer}R Documentation

Stop conditions

Description

Stop conditions

Usage

n_tries(n)

n_metamers(n)

minimize_ratio(r)

Arguments

n

integer number of tries or metamers.

r

Ratio of minimize value to shoot for. If 0.5, the stop condition is that the iteration will stop if the value to minimize gets to one-half of the starting value.


[Package metamer version 0.3.0 Index]