computeMAI99: computeMAI99

Description Usage Arguments Details Value Author(s) References Examples

Description

Computes Mediterranean Adequacy Index according to Alberti-Fidanza et al. 1999.

Usage

1
2
3
4
computeMAI99(data, Bread, Cereals, Legumes, Potatoes,
           Vegetables, FruitAndNuts, Fish, Wine, Oil,
           Milk, Cheese, Meat, Eggs, AnimalFats, SoftDrinks, Pastries, Sugar,
           Kcal, output = NULL, rm.na = FALSE)

Arguments

data

Your data set with nutritional information about food or nutrient consumption. Each row is expected to be a person, and food or nutrient intake are in columns.

Bread

Numeric with energy (as Kilocalories) attributable to bread. The argument is the energy measured as Kcal, although the function will score it as percentage of energy respect total energy intake (see Details).

Cereals

Numeric with energy (as Kilocalories) attributable to cereals.

Legumes

Numeric with energy (as Kilocalories) attributable to legumes.

Potatoes

Numeric with energy (as Kilocalories) attributable to potatoes.

Vegetables

Numeric with energy (as Kilocalories) attributable to vegetables.

FruitAndNuts

Numeric with energy (as Kilocalories) attributable to FruitAndNuts.

Fish

Numeric with energy (as Kilocalories) attributable to fish.

Wine

Numeric with energy (as Kilocalories) attributable to wine.

Oil

Numeric with energy (as Kilocalories) attributable to vegetal oils.

Milk

Numeric with energy (as Kilocalories) attributable to milk.

Cheese

Numeric with energy (as Kilocalories) attributable to cheese.

Meat

Numeric with energy (as Kilocalories) attributable to meat.

Eggs

Numeric with energy (as Kilocalories) attributable to eggs.

AnimalFats

Numeric with energy (as Kilocalories) attributable to fats of animal origin.

SoftDrinks

Numeric with energy (as Kilocalories) attributable to soft drinks.

Pastries

Numeric with energy (as Kilocalories) attributable to pastries.

Sugar

Numeric with energy (as Kilocalories) attributable to sugar.

Kcal

Numeric with total energy intake measured as Kcal.

output

A character string to set which output should the formula give, allowed values are 'data.frame' and 'index'.

rm.na

Logical. If set to FALSE (default), a diet score will be computed only if a person has all score components informed. If set to TRUE, NA values in score components will be drop off and a value of available components will be returned, but percent of score adherence will be computed with basis of the whole score range (see Details)

Details

The index components are scored as percent of calories. But to make it easier to the user, arguments should provide the energy each food item provides. Also the total energy intake should be provided, so formula can internally relate them.

Mediterranean Adequacy Index is a ratio of Kcal attributable to healthy foods over Kcal attributable to unhealthy foods, so values could range from 0 to more than 100 (Alberti et al. 2009). The reference italian-mediterranean diet is 7.5 (Alberti-Fidanza et al. 1999). So, value is not a percentage, and comparability with other scores is not direct.

Periodicity argument is not provided, as the equation is a ratio and it is not to vary if food is recorded daily, weekly or monthly.

Value

Computed Mediterranean Adequacy Index. Depending on 'output' argument, value can be a data.frame, or a vector:

if output = 'data.frame'

A data frame with a row corresponding to each person in data. Columns are the score of each component, as well as the global score as natural sum ('absolute' column) and as percentage ('percent' column)

if output = 'index'

Instead of the full data.frame, just the numeric vector corresponding to the absolute points of adherence to Mediterranean Diet for each person. Range can vary widely (see Details).

Author(s)

Miguel Menendez

References

Alberti-Fidanza, A., F. Fidanza, M. P. Chiuchiù, G. Verducci, and D. Fruttini. 1999. "Dietary Studies on Two Rural Italian Population Groups of the Seven Countries Study. 3. Trend Of Food and Nutrient Intake from 1960 to 1991." European Journal of Clinical Nutrition 53 (11): 854–60.

Alberti, Adalberta, Daniela Fruttini, and Flaminio Fidanza. 2009. "The Mediterranean Adequacy Index: Further Confirming Results of Validity.” Nutrition, Metabolism and Cardiovascular Diseases 19 (1): 61–66. doi:10.1016/j.numecd.2007.11.008.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
data(nutriSample)

MedDiet <- computeMAI99(data = nutriSample,
  Bread = P55Kcal + P56Kcal + P57Kcal,
  Cereals = P55Kcal + P56Kcal + P57Kcal + P59Kcal + P60Kcal + P61Kcal + P62Kcal,
  Legumes = P46Kcal,
  Potatoes = P43Kcal + P44Kcal + P45Kcal,
  Vegetables = P41Kcal + P42Kcal,
  FruitAndNuts = P50Kcal + P53Kcal,
  Fish = P35Kcal + P36Kcal + P37Kcal + P38Kcal,
  Wine = P96Kcal,
  Oil = AceiteKcal,
  Milk = P19Kcal + P20Kcal + P21Kcal,
  Cheese = P26Kcal + P27Kcal,
  Meat = P29Kcal + P30Kcal + P31Kcal + P32Kcal,
  Eggs = P28Kcal,
  AnimalFats = P29grGrasa + P30grGrasa + P31grGrasa + P32grGrasa + P33grGrasa + P34grGrasa ,
  SoftDrinks = P89Kcal + P90Kcal,
  Pastries = P69Kcal + P70Kcal + P71Kcal + P72Kcal + P73Kcal,
  Sugar = P84Kcal,
  Kcal = totalKcal,
  output = "index", rm.na = FALSE)
hist(MedDiet)

MedDietScore documentation built on April 3, 2017, 4:01 p.m.