| rg | R Documentation |
A function that calculates the Relative Growth (RG) based on the Initial Body weight (IBW; ibw) and the Final Body Weight (FBW; fbw) in grams (g).
rg(ibw, fbw)
ibw |
numeric; value providing the initial weight in grams. |
fbw |
numeric; value providing the final weight in grams. |
returns a numeric value that is the Relative Growth. Multiply by 100 for conversion into a percentage.
Anıl Axel Tellbüscher
data(weight2)
dplyr::mutate(weight2, RG = rg(ibw_g, fbw_g))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.