View source: R/03_IFE_algorithm_functions.R
reassign_if_empty_groups | R Documentation |
Randomly reassign individual(s) if there are empty groups. This can happen if the total number of time series is low compared to the number of desired groups.
reassign_if_empty_groups(g, S_true, NN)
g |
Vector with group membership for all individuals |
S_true |
true number of groups |
NN |
number of time series |
numeric vector with the estimated group membership for all time series
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.