############################################################################################
test.partition(x, inner, outer, mode, scheme, modtwo, signif)
list containing matrices needed for the comparison test
matrix or dataframe containing the data
a square (lower triangular) boolean matrix representing the inner model
list of vectors with column indices indicating which manifest variables correspond to each block
character vector indicating the type of measurement for each
block. Possible values are: "A", "B"
string indicating the type of inner weighting
scheme. Possible values are "centroid"
, "factorial"
, or "path"
vector indicating the binary partition
value indicating the threshold a stop condition
Internal function