Constructs a named list defining the factor structure across global, middle-layer, and local levels,
build_factor_structure(
global = 1,
local = NULL,
middle_layer = NULL,
num_blocks = NULL
)A named list where each name corresponds to a block or group of blocks (e.g., "1", "1-3"), and the value is the number of factors associated with that node.
Integer. Number of global factors extracted from the entire dataset.
Integer vector of length blocks. Specifies the number of local factors for each block.
Named list. Each name is a string specifying a group of blocks (e.g., "1-3" or "2-3"), and each value is the number of factors to extract.
Integer. Number of blocks into which the data is divided.