View source: R/11.1-basic-validators.R
| create_empty_composition | R Documentation |
Create empty composition for invalid inputs (Utility)
create_empty_composition()
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.
create_empty_composition()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.