View source: R/03_IFE_algorithm_functions.R
define_kg_candidates | R Documentation |
Defines the set of combinations of group specific factors.
define_kg_candidates(S, kg_min, kg_max, nfv = TRUE, limit_est_groups = 20)
S |
number of estimated groups |
kg_min |
minimum value for number of group specific factors |
kg_max |
minimum value for number of group specific factors |
nfv |
logical; whether the number of group specific factors is allowed to change among the groups |
limit_est_groups |
maximum allowed number of groups that can be estimated |
Returns a data frame where each row contains the number of group specific factors for all the estimated groups. The number of columns is set to 20 (the current maximum amount of group that can be estimated)
define_kg_candidates(3, 2, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.