add_configuration {RCTS}R Documentation

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)

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)

Value

data.frame

Examples

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

[Package RCTS version 0.2.4 Index]