P.matrix: Generate the P matrices for the moving knots model

Description Usage Arguments Value Author(s) References

View source: R/models__linear__etc__P.matrix.R

Description

P matrix. Details available in the paper.

Usage

1
P.matrix(X, q.i, priorArgs)

Arguments

X

"matrix" the design matrix generated by d.matrix() function.

q.i

NA

priorArgs

NA

q

"numeric" the dimensions for the P matrices

args

"list" args$P.type: "character" the type for the P matrices

Value

"list" Containing the P matrices.

Author(s)

Feng Li, Department of Statistics, Stockholm University, Sweden.

References

NA


feng-li/movingknots documentation built on March 30, 2021, 11:58 a.m.