homogenity testing and saving to csv nor works
first dataset and R script to plot