K1: First Order Penalty Matrix

Description Usage Arguments

View source: R/utility_general.R

Description

Creates a first order penalty matrix used in fitting penalized b-splines. Courtesy of CITATION NEEDED. Note that this function produces singular matrices.

Usage

1

Arguments

dim

dimension of output matrix. Must be at least four.


wzhorton/ramses documentation built on May 17, 2019, 1:03 p.m.