Compute the Total Sum of Squares (SST) for a List of Data Matrices
Source:R/simulation_comparison.R
calc_total_SST.RdThis function concatenates all matrices in list_of_data into one big matrix,
calculates the global mean, and then sums the squared differences from that mean.
The result can be used to compute VAF (Variance Accounted For).