Atwater: Atwater Conversion

Description Usage Arguments Value Examples

Description

This function converts fat, carbohydrate, and protein values from a DM basis to metabolizable energy based on general Atwater factors All you need to do is input 3 nutrients and a grouping variable, and voila! This function can be used to convert/prepare your data for further geometric analysis

Usage

1
Atwater(carb, fat, protein, id, data)

Arguments

carb

Carbohydrate/TNC values on a DM basis. Atwater factor = 4

fat

Fat/Lipid values on a DM basis. Atwater factor = 9

protein

Protein/CP values on a DM basis. Atwater factor = 4

id

an optional argument. Grouping variable or other indicator of multiple groups within your dataset.

data

the dataframe holding your data

Value

dataframe of ME values from DM values, based on general Atwater factors

Examples

1
Atwater(data=gorillafood,carb=TNC,fat=LIP,protein=CP,id=GROUP)

PrimateEats/balancr documentation built on May 16, 2019, 11:10 p.m.