fitted.m 210 B

12345678910111213
  1. function y = fitted(fit)
  2. % Fitted values from a locfit object.
  3. %
  4. % Input arguments:
  5. % fit - the locfit() fit.
  6. %
  7. % Author: Catherine Loader.
  8. z = predict(fit,'d','restyp','fit');
  9. y = backtr(z,fit);
  10. return;