local-polynomial-regression introduction A function to fit local polynomial regression benefit This function provides estimated beta and fitted line time consumption comparison package compute time locpol 0.018749 our 0.443352 visualize iris data example