Closed BananaCancer closed 1 year ago
I think you could still add to dist.fun the function requirement. Must have method parameter for specifying dissimilarity measure. And its output must be dissimilarity matrix. --> if those requirements are not fulfilled it leads to an error (it could be good to notify user.)
How is that @TuomasBorman ?
Hmmm, how about
@param dist.fun Function specifying the function to use to compute the distance matrix. Must be stats::dist-like function.
Is that clear? What you think?
It's clear if people reading know what you mean. I can do a mix of the two @param dist.fun Function specifying the function to use to compute the distance matrix. Must be stats::dist-like function. i.e. takes a method as a parameter and returns a dissimilarity matrix
Is that ok?
Yes, sounds feasible
Is this version ok to merge @TuomasBorman ?
Added Leo, Tuomas and myself as contributors.