view rDiff/src/locfit/m/rsum.m @ 3:29a698dc5c7e default tip

Merge multiple heads.
author Dave Bouvier <dave@bx.psu.edu>
date Mon, 27 Jan 2014 14:15:36 -0500
parents 0f80a5141704
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;