This function matches id and observed variables and reshapes them accordingly

.tidyVars(ids = NULL, obs = NULL, clust = NULL, grp = NULL)

Arguments

ids

list of id variables

obs

list of observed variables

clust

list of cluster variables

grp

list of group variables

Value

a symmetric list of variables (all with the same dimensions)