findmaxval: Find Maximum Value

View source: R/utils.R

findmaxvalR Documentation

Find Maximum Value

Description

Searches the maximum of a function over a grid on a given interval.

Usage

findmaxval(sens, min, max, grid.length)

Arguments

sens

A single variable numeric function to evaluate.

min

Minimum value of the search interval.

max

Maximum value of the search interval.

grid.length

Length of the search interval.

Value

The value of the maximum


optedr documentation built on Nov. 18, 2022, 5:12 p.m.