residuals(object, data, type, studentize)
A vector of residuals.
data(ethanol) fit <- locfit(NOx~E,data=ethanol) residuals(fit)