format_matrix: Format vector into matrix using positional vector

View source: R/get-param.R

format_matrixR Documentation

Format vector into matrix using positional vector

Description

Format vector into matrix using positional vector

Usage

format_matrix(.values, .labels, .type = c("OMEGA", "SIGMA"))

Arguments

.values

vector of values. Values should be in the same order presented in model_summary

.labels

parameter names corresponding to the values. Order matters here as well.

.type

matrix type. Either "OMEGA" or "SIGMA"

Details

The only information gathered from .labels is the positioning (i.e. (2,3), (1,1), etc.)


metrumresearchgroup/rbabylon documentation built on April 21, 2024, 3:26 a.m.