summarise_intermediate_results_dplyr function

Compute the mean of intermediate results