get_z_full_fast: Quickly extract the correlation vector, z

Description Usage Arguments Value

View source: R/multivariate_models.R

Description

Extract the full correlation vector of length choose(J+K,2), accounting for the grouping structure specified by mod_spec$cdep_groups.

Usage

1
get_z_full_fast(th_y, mapping, asMatrix = F)

Arguments

th_y

The parameter vector

mapping

The mapping object that supports quick indexing

asMatrix

Whether or not to return a (J+K) by (J+K) matrix of correlations (default FALSE)

Value

The full correlation vector (or matrix)


MichaelHoltonPrice/yada documentation built on Sept. 19, 2021, 11:27 p.m.