the estimated parameters by the method of moments of the data assuming the underlying distribution is binomial distribution
Arguments
data
A numeric vector.
size.known
logical indicating whether the size of the binomial distribution is known or not.
size
integer valued parameter of binomial distribution.
plot
logical which controls whether the barplot of the data along with the probability curve of the theoretical binomial distribution with the estimated parameters.