Maximum Likelihood Estimation by R