Learn R Programming

geonet (version 0.7.3)

bspline_design: 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)

Value

A sparse matrix design matrix of dimension N x J.

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.