Skip to contents

FCS - Food Consumption Score

Usage

fcs(
  .tbl,
  fcs_cereal,
  fcs_legumes,
  fcs_dairy,
  fcs_meat,
  fcs_veg,
  fcs_fruit,
  fcs_oil,
  fcs_sugar,
  cat = "normal"
)

Arguments

.tbl

Data

fcs_cereal

Cereals component column

fcs_legumes

Legumes component column

fcs_dairy

Dairy component column

fcs_meat

Meat component column

fcs_veg

Vegetables component column

fcs_fruit

Fruit component column

fcs_oil

Oil component column

fcs_sugar

Sugar component column

cat

Cut-offs categories, either "normal" (21.5/35) or "alternate" (28/42)

Value

Ten new columns: each component weight (fcs_w_), the score (fcs_score) and category (fcs_cat).

Details

All component columns must of type 'double'.