bspline_design: Design Matrix for Linear B-Splines on a Geometric Network

View source: R/matrices.R

bspline_designR Documentation

Design Matrix for Linear B-Splines on a Geometric Network

Description

bspline_design constructs the design matrix which represents the (log-)baseline intensity on the geometric network.

Usage

bspline_design(G, knots, bins)

Arguments

G

An object of class gn.

knots

A list which contains the knots on which the B-splines are defined

bins

list of which contains the mid points of the bins.

Value

A sparse matrix design matrix of dimension N x J.

Author(s)

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


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