network_penalty: Penalty Matrix of a Geometric Network

View source: R/matrices.R

network_penaltyR Documentation

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)

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.

Value

A sparse and square penalty matrix.

Author(s)

Marc Schneble marc.schneble@stat.uni-muenchen.de


geonet documentation built on July 11, 2022, 9:08 a.m.