Description Usage Arguments Value Author(s)
View source: R/SecondDerivativePenalty.R
A roughness penalty function based on squared second derivatives evaluated numerically. This is a possible template function for other types of penalties.
1 | SecondDerivativePenalty(xgrid, a)
|
xgrid |
vector of length m, must be increasing |
a |
a function of one numeric variable |
a vector of second derivatives evaluated at the points of xgrid
W.J. Braun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.