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


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