A comprehensive set of R codes for nonparametric statistics and econometrics