kcal.to.g: 'kcal.to.g' converts kCal to grams of fat.

Description Usage Arguments Examples

View source: R/CoversionFunctions.R

Description

kcal.to.g converts kCal to grams of fat.

Usage

1
kcal.to.g(energy, k1 = 20.1, k2 = 39.3, k3 = 1000)

Arguments

energy

amount of enegry to convert in kCal

k1

constant 1

k2

constant 2

k3

constant 3

Examples

1
2
3
4
5
6
7
# ConvertToFat
e <- 1:100

r <- kcal.to.g(e)

plot(e, r, xlab = "Energy (kJ)", ylab = "Energy KCal",
     main = "kcal.to.g")

cReedHranac/batwintor documentation built on Jan. 27, 2020, 7:39 p.m.