projbayeslm: Projection of non-singular prior onto the subspace of the...

View source: R/projbayeslm.R

projbayeslmR Documentation

Projection of non-singular prior onto the subspace of the Laplacian

Description

Projection of non-singular prior onto the subspace of the Laplacian

Usage

projbayeslm(noitems, xmu, xvar)

Arguments

noitems

The number of items for the paired comparison.

xmu

The normal prior mean of noitems.

xvar

The prior covariance matrix of noitems.

Value

Projected mean and variance matrix of the prior distribution.

Author(s)

Prince P. Osei and Ori Davidov

Examples

## K = 6 # number of items
## mu = rep(0,6) # the prior mean
## xcov = diag(6) # the prior covariance matrix
## projbayeslm(K,mu,xcov)

oseipep/pcdbayeslm documentation built on Aug. 6, 2023, 8:45 a.m.