rsum.m 215 B

1234567891011121314
  1. function z = rsum(fit)
  2. %
  3. % function to extract log-likelihood and degrees-of-freedom
  4. % from locfit fit.
  5. %
  6. % order of returned vector: df0 df1 llk.
  7. %
  8. fp = fit.fit_points;
  9. gf = fp.kappa;
  10. z = gf([2 3 1]);
  11. return;