How To Find Maximum Likelihood Estimator In R