findmax: Find Maximum

View source: R/utils.R

findmaxR Documentation

Find Maximum

Description

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

Usage

findmax(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 at which the maximum is obtained


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