A bare-bones implementation of local linear regression, using high-level functions. Can handle both numerical and non-numerical (factor) variables. See Loader (1999) , ch2, or Hastie et al (2009) , ch6. The package also contains a scale_df() function which only scales the numeric variables in a dataframe.