Learn R Programming

FARS (version 0.7.1)

update_factor_list: Update Factor List

Description

Updates the list of factors at each hierarchical node by slicing from a matrix containing all final factors.

Usage

update_factor_list(factor_list, final_factors, r_list)

Value

An updated named list of factors.

Arguments

factor_list

A named list of factors for each node in the hierarchy.

final_factors

A numeric matrix containing all factors (T × total number of factors).

r_list

A named list specifying the number of factors for each node (from build_factor_structure).