Learn R Programming

optedr (version 2.2.0)

findmax: Find Maximum

Description

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

Usage

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

Value

The value at which the maximum is obtained

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.