calculate_energy_density: Calculate energy density from fat and protein (Low-level)

View source: R/05-body-composition.R

calculate_energy_densityR Documentation

Calculate energy density from fat and protein (Low-level)

Description

Calculates energy density based on fat and protein content

Usage

calculate_energy_density(
  fat_content,
  protein_content,
  total_weight,
  fat_energy,
  protein_energy
)

Arguments

fat_content

Fat content (g)

protein_content

Protein content (g)

total_weight

Total weight (g)

fat_energy

Energy per gram of fat (J/g)

protein_energy

Energy per gram of protein (J/g)

Value

Energy density (J/g wet weight)


fb4package documentation built on May 8, 2026, 1:07 a.m.