get_mvn_params: Construct a covariance matrix

Description Usage Arguments Value

View source: R/get_mvn_params.r

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

1
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 July 2, 2020, 4:10 a.m.