Learn R Programming

fb4package (version 2.0.0)

calculate_energy_density: 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
)

Value

Energy density (J/g wet weight)

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)