network_penalty: Penalty Matrix of a Geometric Network
Description
network_penalty
constructs the penalty matrix which relates to the
B-Splines created by bspline_design
.
Usage
network_penalty(G, knots, r)
Value
A sparse and square penalty matrix.
Arguments
- G
A geometric network (object of class gnpp
).
- knots
A list which contains the knots on which the
B-splines are defined
- r
The order of the penalty, default to first-order penalty (r = 1
.