Add a variable sum_weight
to the dataset weights
. This variable contains the sum of the shell, gut and meat weight. Also add a variable Ploss
that contains the fraction of the total weight that was lost by bleeding.
gender total_weight meat_weight gut_weight shell_weight
1 M 0.5140 0.2245 0.1010 0.150
2 M 0.2255 0.0995 0.0485 0.070
3 F 0.6770 0.2565 0.1415 0.210
4 M 0.5160 0.2155 0.1140 0.155
5 I 0.2050 0.0895 0.0395 0.055
6 I 0.3515 0.1410 0.0775 0.120
7 F 0.7775 0.2370 0.1415 0.330
8 F 0.7680 0.2940 0.1495 0.260
9 M 0.5095 0.2165 0.1125 0.165
10 F 0.8945 0.3145 0.1510 0.320