Statistics, Data Science, R Programming, Programming, Machine Learning.
probability mass function, specifying the plot to be a histogram (type=’h’) Let’s say that for a coin tossed 10 times, the binomial distribution could be used to model the probability of the number of heads (1 to 10). Here is the probability mass function for a binomial distribution created with