funcprofile {TestFunctions}R Documentation

Profile a function

Description

Gives details about how linear it is.

Usage

funcprofile(func, d, n = 1000 * d, bins = 30)

Arguments

func

A function with a single output

d

The number of input dimensions for the function

n

The number of points to use for the linear model.

bins

Number of bins in histogram.

Value

Nothing, prints and plots

Examples

funcprofile(ackley, 2)

[Package TestFunctions version 0.2.1 Index]