fill_rc: Fills in the optimized number of common factors for each C.

View source: R/03_IFE_algorithm_functions.R

fill_rcR Documentation

Fills in the optimized number of common factors for each C.

Description

Fills in the optimized number of common factors for each C.

Usage

fill_rc(df, all_best_values, subset)

Arguments

df

input

all_best_values

data frame with the optimal number of groups, common factors and group specific factors

subset

index of the subsample

Value

data.frame

Examples

df_results <- add_configuration(initialise_df_results(TRUE),
  3, 0, c(3, 3, 3, rep(NA, 17))) #data.frame with one configuration
all_best_values <- calculate_best_config(df_results, data.frame(t(1:5)), 1:5)
rc <- fill_rc(initialise_rc(0:2, 1:5), all_best_values, 1)

RCTS documentation built on May 31, 2023, 9:20 p.m.

Related to fill_rc in RCTS...