view rDiff/src/locfit/m/rsum.m @ 0:0f80a5141704

version 0.3 uploaded
author vipints
date Thu, 14 Feb 2013 23:38:36 -0500
parents
children
line wrap: on
line source

function z = rsum(fit)
%
% function to extract log-likelihood and degrees-of-freedom
% from locfit fit.
%
% order of returned vector:   df0 df1 llk.
%

fp = fit.fit_points;
gf = fp.kappa;

z = gf([2 3 1]);

return;