weighted_line fits a robust line and allows weights.
weighted_line(x, y =NULL, w, na.rm =FALSE, iter =1)## S3 method for class 'medline'print(x,...)## S3 method for class 'medline'coef(object,...)## S3 method for class 'medline'residuals(object,...)## S3 method for class 'medline'fitted(object,...)