stat_spantree function

Calculate a minimum spanning tree among cases or variables