Generic function to extract and add results from statistical analyses to tibbles. Each method adds appropriate columns based on the analysis type.
Details
Different statistical methods add different types of results:
stat_pca: PC scoresstat_lda: Discriminant scores, predictions, posterior probabilitiesstat_kmeans: Cluster assignments
