function  HR_i = HR_ij__2_HR_i(HR_ij)

%change Herd ate bi product to herd rate of one product by averaging
% 




    HR_ij( isnan(HR_ij) ) =0;

    HR_ij_tot =  HR_ij + HR_ij';

    HR_i =  nanmean(HR_ij_tot);
 




end

