pen_fun: Penalty Function
Description
Calculate the penalty matrix for `mvmfd` objects.
Usage
pen_fun(data, devorder = 2, type)
Arguments
- data
an object of class `mvmfd`.
- devorder
The order of the derivative.
- type
The type of penalty. The types "coefpen" and "basispen" is supported.