update.sigma.alpha.coef: update.sigma.alpha.coef

Description Usage Arguments Value

View source: R/hmi_smallfunctions_2016-07-21.R View source: R/hmi_smallfunctions_2016-07-14.R

Description

It updates the random effects covarariance matrix by drawing from a Wishart distribution.

It updates the random effects covarariance matrix by drawing from a Wishart distribution.

Usage

1
2
3
4
5
## S3 method for class 'sigma.alpha.coef'
update(hyper.df1, hyper.df2, alpha.new)

## S3 method for class 'sigma.alpha.coef'
update(hyper.df1, hyper.df2, alpha.new)

Arguments

hyper.df1

A vector of numeric hyper parameters

hyper.df2

A matrix of hyper parameters.

alpha.new

A matrix of cluster specific random effects.

hyper.df1

A vector of numeric hyper parameters

hyper.df2

A matrix of hyper parameters.

alpha.new

A matrix of cluster specific random effects.

Value

It returns a matrix with a new random effects covarariance matrix.

It returns a matrix with a new random effects covarariance matrix.


matthiasspeidel/hmi documentation built on Aug. 18, 2020, 4:37 p.m.