Matthias, The compare_rstats_t function is only used to order the results. for inclusion in the histogram and for printing the R data frame. As it has no computational importance or effect, the spamicity numbers computed are correct. David