Learn R Programming

fb4package (version 2.0.0)

create_empty_composition: Create empty composition for invalid inputs (Utility)

Description

Create empty composition for invalid inputs (Utility)

Usage

create_empty_composition()

Arguments

Value

A named list with 13 numeric/logical elements, all set to zero or

FALSE: total_weight, water_g, protein_g,

ash_g, fat_g, water_fraction, protein_fraction,

ash_fraction, fat_fraction, energy_density,

total_energy, total_fraction (all 0), and

balanced (FALSE). Used as a safe fallback when fish weight is zero or negative.

Examples

Run this code
create_empty_composition()

Run the code above in your browser using DataLab