get_optimal_range

0th

Percentile

Find optimal range

Finds optimal max and min value using an optimality criterion.

Keywords
internal
Usage
get_optimal_range(max_range, min_range, resolution, opt_crit, choose_best,
  minimize = TRUE)
Arguments
max_range

(numeric of length 2) The min and max boundaries to the search space for the optimal maximum value.

min_range

(numeric of length 2) The min and max boundaries to the search space for the optimal minimum value.

resolution

(numeric of length 2) The number of increments in each dimension.

opt_crit

(function) A function that takes two arguments, the max and min, and returns the optimality statistic.

choose_best

(function) A function that takes a list of opt_crit outputs and returns the index of the best one.

Aliases
  • get_optimal_range
Documentation reproduced from package metacoder, version 0.3.3, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.