Object to hold results of permutation test
permut(distp, distt, p_overall, J_1, q_min, q_max, plot)A list of class permut, with the same elements as the input arguments.
List of squared Wasserstein distances between the control units
List of squared Wasserstein distances between the target unit and the control units
Overall p-value
Number of control units
Minimum quantile
Maximum quantile
ggplot object containing plot of squared Wasserstein distances over time for all permutations.