Get clusters for subsampling given a formula

get_strata(cluster_matrix)

Arguments

cluster_matrix

matrix of cluster column values