funcprofile: Profile a function

View source: R/funcprofile.R

funcprofileR 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)

TestFunctions documentation built on Sept. 30, 2024, 9:31 a.m.