powered by
Adds the current configuration (number of groups and factors) to df_results.
add_configuration(df_results, S, k, kg)
data.frame
dataframe with results for each estimated configuration
estimated number of groups in current configuration
estimated number of common factors in current configuration
vector with the estimated number of group specific factors in current configuration (augmented with NA's to reach a length of 20)
add_configuration(initialise_df_results(TRUE), 3, 0, c(3, 3, 3, rep(NA, 17)))
Run the code above in your browser using DataLab