powered by
Helper function to lapply over the given distribution list, and make the short_names unique.
short_name
makeUniqueDistributions(distlist)
list of Distributions.
The list of inputted distributions except with the short_names manipulated as necessary to make them unique.
The short_names are made unique by suffixing each with a consecutive number so that the names are no longer duplicated.
# NOT RUN { makeUniqueDistributions(list(Binomial$new(), Binomial$new())) # }
Run the code above in your browser using DataLab