The sum of the weights of the gut, meat and shell don’t necessarily match the total weight. Before the meat is weighted, the researchers let it bleed out. So a small fraction of the total weight is actually leaked fluids, and the amount of fluids lost can be an indication of overall health of the animal. But it can also highlight errors in the data.
Create a new dataset weights
containing only the weight variables and the gender.
gender length diameter height total_weight meat_weight gut_weight shell_weight rings
1 M 0.455 0.365 0.095 0.5140 0.2245 0.1010 0.150 15
2 M 0.350 0.265 0.090 0.2255 0.0995 0.0485 0.070 7
3 F 0.530 0.420 0.135 0.6770 0.2565 0.1415 0.210 9
4 M 0.440 0.365 0.125 0.5160 0.2155 0.1140 0.155 10
5 I 0.330 0.255 0.080 0.2050 0.0895 0.0395 0.055 7
6 I 0.425 0.300 0.095 0.3515 0.1410 0.0775 0.120 8
7 F 0.530 0.415 0.150 0.7775 0.2370 0.1415 0.330 20
8 F 0.545 0.425 0.125 0.7680 0.2940 0.1495 0.260 16
9 M 0.475 0.370 0.125 0.5095 0.2165 0.1125 0.165 9
10 F 0.550 0.440 0.150 0.8945 0.3145 0.1510 0.320 19