stan_chol: Stan formatted Cholesky factored cov/cor matrix

Description Usage Arguments Examples

Description

Stan formatted Cholesky factored cov/cor matrix

Usage

1
stan_chol(mat)

Arguments

mat

A cholesky factored covariance or correlation matrix

Examples

1
2
3
4
5
6
# make matrix
L <- solve(rWishart(1, 6, diag(5))[,,1])

# compare
l1 <- chol(L)
l2 <- stan_chol(L)

iamamutt/rbaes documentation built on May 18, 2019, 1:27 a.m.