get_Xi: Set up a basic ALR prior

Description Usage Arguments Value Examples

View source: R/model_fitting.R

Description

Set up a basic ALR prior

Usage

1
get_Xi(D, total_variance = 1)

Arguments

D

number of features including reference (where the ALR will represent D-1)

total_variance

scale of the log variance

Value

list containing inverse Wishart parameters degrees of freedom and scale matrix

Examples

1
2
params <- get_Xi(D=100, log_var_scale=1)
Sigma <- matrixsampling::rinvwishart(1, params$upsilon, params$Xi)[,,1]

kimberlyroche/ROL documentation built on Dec. 10, 2020, 2:18 a.m.