fn_fyield
fn_fyield.Rd
The function calculates the fillet yield by dividing the 250 g benchmark (bm) by the mean, lower, and upper confidence interval of 95 fillet weight, respectively. These values are obtained from the list items l_intervals$CI returned by the fn_intervals function
Arguments
- i
An integer value that indicates which regression analysis to use.
- bm
An integer value used as a benchmark.
- df
A data frame with landed weights for each category.
Details
If the analyzed regression has fillet weight as an independent variable, then values are calculated. An "if statement" is written for this propose.
Fillet yield was calculated for a sequence of the independent variable (including minimum and maximum values).
Inside the function, the mean (Ymean), lower (Ymin), and upper (Ymax) CI95 are stored in a table (Table_Y)