Learn R Programming

RCTS (version 0.2.4)

add_configuration: Adds the current configuration (number of groups and factors) to df_results.

Description

Adds the current configuration (number of groups and factors) to df_results.

Usage

add_configuration(df_results, S, k, kg)

Value

data.frame

Arguments

df_results

dataframe with results for each estimated configuration

S

estimated number of groups in current configuration

k

estimated number of common factors in current configuration

kg

vector with the estimated number of group specific factors in current configuration (augmented with NA's to reach a length of 20)

Examples

Run this code
add_configuration(initialise_df_results(TRUE), 3, 0, c(3, 3, 3, rep(NA, 17)))

Run the code above in your browser using DataLab