Prepa_MMD: Internal function : prepares the data set for MMD analysis according to thechoices previously specified by the user.
Description
Internal function : prepares the data set for MMD analysis according to thechoices previously specified by the user (groups and variables which have to be excluded, etc.).
Usage
Prepa_MMD(tab, type = "raw_data", k = 10, all_vars = FALSE, idiosync = FALSE)
Arguments
tab
The dataset.
type
"raw_data" or "summarized_data", depending on the choice previously specified by the user.
k
Minimal required number of individuals per group.
all_vars
Boolean : if FALSE, the variables which are always 0 or always 1 are excluded.
idiosync
Boolean : if FALSE, the variables which are always 0 or always 1 *excepted on one individual* are excluded.