GetDiffMatrix: Get Difference Matrix

Description Usage Arguments Value

View source: R/DiffMatrix.R

Description

Calculates the difference matrix of order 2 (ISSUE – Only gets difference matrix of order 2 for now).

Usage

1
GetDiffMatrix(nr, ord = 2)

Arguments

nr

Number of rows the difference matrix will have.

ord

Order of the difference matrix.

Value

A difference matrix of order ord with dimensions nr by \code{nr} + \code{ord}


nclJoshCowley/PSplinesR documentation built on Nov. 19, 2019, 10:29 a.m.