title: How to plot the log-likelihood of binomial distribution
body: <p>In order to solve (c), I think I need a plot of the log-likelihood of the binomial distribution. Can anyone please help me do it in R? The data and the question is as follows;</p>
  
  <p><img src="https://i.stack.imgur.com/qyZ5H.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/Wu449.png" alt="enter image description here"></p>
  
  <p>I think I need this kind of plot:</p>
  
  <p><img src="https://i.stack.imgur.com/XN994.png" alt="enter image description here"></p>