P_smooth1: Spline Penalty Matrix

View source: R/fcts.R

P_smooth1R Documentation

Spline Penalty Matrix

Description

Construct the covariance matrix P of the smoothness inducing prior for the spline coefficients

Usage

P_smooth1(K)

Arguments

K

Number of spline knots

Value

Covariance of the smoothness inducing prior (penalizing first differences in the spline coefficients)


lddmm documentation built on May 29, 2024, 5:43 a.m.