Learn R Programming

sharpPen (version 1.9)

testfun: Functions for Testing Purposes

Description

Functions that can be used in simulations to test the effectiveness of the sharpening procedures.

Usage

testfun(x, k)

Value

numeric vector of function output

Arguments

x

numeric vector

k

a numeric constant that controls the height of the peak of the test function; if missing, a periodic function is supplied

Author

D.Wang