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


Kezrael/optedr documentation built on Oct. 12, 2024, 8:40 p.m.