get_mvn_params: Construct a covariance matrix

View source: R/get_mvn_params.r

get_mvn_paramsR Documentation

Construct a covariance matrix

Description

This function takes the provided libbi which has been run and returns the square root of the covariance matrix, which can be used for proposal distributions

Usage

get_mvn_params(x, scale = 1, correlations = TRUE, fix)

Arguments

x

a libbi which has been run

scale

a factor by which to scale all elements of the covariance matrix

correlations

logical; if TRUE, correlations are taken into account when constructing the parameters

fix

if this is set, all elements of the covariance matrix will be set to it

Value

the updated bi model


rbi.helpers documentation built on Aug. 24, 2023, 5:09 p.m.