Estimation Using R Adam Smith