Sigma4betaFun: Calculate the variance for the prior of coefficients (beta)...

Description Usage Arguments Value Author(s)

View source: R/models__linear__etc__Sigma4betaFun.R

Description

Details available in the paper.

Usage

1
Sigma4betaFun(diag.K, Sigma, P.mats, inverse = FALSE)

Arguments

diag.K

"matrix" diagonal part of the matrix K

Sigma

"matrix" variance for the error term

P.mats

NA

inverse

"logical" if TRUE, will return the inverse variance matrix.

P

"list" containing the P matrices.

Value

"matrix"

Author(s)

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


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