SecondDerivativePenalty: A Roughness Penalty Based on the Squared Second Derivative

Description Usage Arguments Value Author(s)

View source: R/SecondDerivativePenalty.R

Description

A roughness penalty function based on squared second derivatives evaluated numerically. This is a possible template function for other types of penalties.

Usage

1

Arguments

xgrid

vector of length m, must be increasing

a

a function of one numeric variable

Value

a vector of second derivatives evaluated at the points of xgrid

Author(s)

W.J. Braun


CHsharp documentation built on May 29, 2017, 9:30 a.m.

Search within the CHsharp package
Search all R packages, documentation and source code