mc_list2vec: Auxiliar function transforms list to a vector.

View source: R/mc_list2vec.R

mc_list2vecR Documentation

Auxiliar function transforms list to a vector.

Description

This function takes a list of parameters and tranforms to a vector.

Usage

mc_list2vec(list_initial, list_power_fixed)

Arguments

list_initial

A list specifying initial values.

list_power_fixed

A list of logical operators specyfing if the power parameter should be estimated or not.

Details

It is an internal function, in general the users never will use this function. It will be useful, only if the user wants to implement a different variance-covariance matrix.

Value

A list with the following components:

beta_ini

A numeric vector containing the initial values of the regression parameters stacked across all response variables.

cov_ini

A numeric vector containing the initial values of the covariance-related parameters, including dispersion, power, and correlation parameters, after removing fixed power parameters.

Author(s)

Wagner Hugo Bonat


mcglm documentation built on Jan. 9, 2026, 1:07 a.m.