The function bdm.optk.sn2r() computes the S2NR that results from recursively merging clusters and, by deafult, makes a plot of these values. For large datasets this computation can take a while, so we can save this result by setting ret.optk = TRUE. If this result is saved, we can plot it again at any time using this funcion.